]> granicus.if.org Git - python/commit
Fix sf bug 666219: assertion error in httplib.
authorJeremy Hylton <jeremy@alum.mit.edu>
Sun, 29 Jun 2003 17:55:05 +0000 (17:55 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Sun, 29 Jun 2003 17:55:05 +0000 (17:55 +0000)
commitb67695238d3ce6c40dacb05b155f24716af0c982
treefc25b60127944a20742f422e863b5cfc3100c36f
parentb752c278019c46fef777267d5ee32a2b90b5d46e
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.
Lib/httplib.py