This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author karlcow
Recipients karlcow, r.david.murray
Date 2012-08-28.20:59:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346187561.97.0.976211888186.issue15799@psf.upfronthosting.co.za>
In-reply-to
Content
ok.

status lines 1 and 2 are valid. 
the third one is invalid and should trigger a 

raise BadStatusLine(line)

The code at line 318 is bogus as it will parse happily the third line without raising an exception.
http://hg.python.org/cpython/file/3.2/Lib/http/client.py#l318
History
Date User Action Args
2012-08-28 20:59:22karlcowsetrecipients: + karlcow, r.david.murray
2012-08-28 20:59:21karlcowsetmessageid: <1346187561.97.0.976211888186.issue15799@psf.upfronthosting.co.za>
2012-08-28 20:59:21karlcowlinkissue15799 messages
2012-08-28 20:59:21karlcowcreate