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 alvaromunoz
Recipients alvaromunoz
Date 2017-10-05.13:51:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507211520.07.0.213398074469.issue31704@psf.upfronthosting.co.za>
In-reply-to
Content
Recently faced an issue with a proxy responding in lowercase http, which caused this:

ProtocolError('Connection aborted.', BadStatusLine('http/1.1 200 connection established\r\n',))

Changing the string to uppercase before checking if it starts with HTTP fixes this issue and allows to use this proxy.

I know that the proxy is at fault here, but seeing as other applications (web browsers, office suite, text editors, etc.) still work behind this proxy, I think it might be a reasonable fix to have...
History
Date User Action Args
2017-10-05 13:52:00alvaromunozsetrecipients: + alvaromunoz
2017-10-05 13:52:00alvaromunozsetmessageid: <1507211520.07.0.213398074469.issue31704@psf.upfronthosting.co.za>
2017-10-05 13:52:00alvaromunozlinkissue31704 messages
2017-10-05 13:51:59alvaromunozcreate