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 michael-o
Recipients michael-o
Date 2021-04-03.19:45:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617479112.59.0.978864196695.issue43718@roundup.psfhosted.org>
In-reply-to
Content
Looking at https://github.com/python/cpython/blob/63c69440c7adb0de1d191a8d3d100b335d5c2f81/Lib/http/client.py#L898
self.debuglevel is not passed to response_class() and for debugging purposes I miss to see:
> send: b'CONNECT some-host:443 HTTP/1.0\r\n'
> send: b'\r\n'
> reply: 'HTTP/1.0 502 Bad Gateway\r\n'

reply is missing. It trivial to pass the debug level.
History
Date User Action Args
2021-04-03 19:45:12michael-osetrecipients: + michael-o
2021-04-03 19:45:12michael-osetmessageid: <1617479112.59.0.978864196695.issue43718@roundup.psfhosted.org>
2021-04-03 19:45:12michael-olinkissue43718 messages
2021-04-03 19:45:12michael-ocreate