New submission from Álvaro Muñoz <alvaro.mu...@gmail.com>: 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... ---------- components: Library (Lib) messages: 303768 nosy: alvaromunoz priority: normal pull_requests: 3869 severity: normal status: open title: HTTP check lowercase response from proxy type: behavior versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31704> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com