Fix sf bug 666219: assertion error in httplib.
commitbad65adb010dfd9c931e27b3ad33ee85ef8d6095
authorjhylton <jhylton@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sun, 29 Jun 2003 17:55:05 +0000 (29 17:55 +0000)
committerjhylton <jhylton@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sun, 29 Jun 2003 17:55:05 +0000 (29 17:55 +0000)
tree1a701869bd5025b58a580422f16d062c65c3eef1
parent4a49a68485ecf3cb4bbe1b98dfb639914d374efc
Fix sf bug 666219: assertion error in httplib.

The obvious way for this assertion to fail is if the LineAndFileWrapper constructor is called when an empty line.  Raise a BadStatusError before the call.

git-svn-id: http://svn.python.org/projects/python/trunk@33351 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/httplib.py