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 groodt
Recipients adamnelson, groodt, orsenthil
Date 2012-07-07.14:05:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341669959.45.0.322992179931.issue8823@psf.upfronthosting.co.za>
In-reply-to
Content
I've made a small change to urllib2 to catch the httplib.BadStatusLine and raise as URLError. This exception should rarely happen as it means the server is returning invalid responses. Nevertheless, I've added a test and hopefully fixed the issue.

Patch is attached. I will check if this needs to be added to newer versions of Python.
History
Date User Action Args
2012-07-07 14:05:59groodtsetrecipients: + groodt, orsenthil, adamnelson
2012-07-07 14:05:59groodtsetmessageid: <1341669959.45.0.322992179931.issue8823@psf.upfronthosting.co.za>
2012-07-07 14:05:58groodtlinkissue8823 messages
2012-07-07 14:05:58groodtcreate