[issue43718] HTTP CONNECT response not subject to debug level

2021-06-28 Thread Andrei Kulakov
Andrei Kulakov added the comment: The PR is here: https://github.com/python/cpython/pull/26932 -- ___ Python tracker ___ ___

[issue43718] HTTP CONNECT response not subject to debug level

2021-06-28 Thread Andrei Kulakov
Change by Andrei Kulakov : -- keywords: +patch pull_requests: +25501 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26932 ___ Python tracker ___

[issue43718] HTTP CONNECT response not subject to debug level

2021-06-28 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: Thanks Andrei, please ahead and provide the PR. You'll do it faster than I do. -- ___ Python tracker ___

[issue43718] HTTP CONNECT response not subject to debug level

2021-06-27 Thread Andrei Kulakov
Andrei Kulakov added the comment: Also note that the debug arg should be provided only if it's greater than 0, for cases when you might want to have connection at debug 0, and a custom response class with a default nonzero debug level. -- ___

[issue43718] HTTP CONNECT response not subject to debug level

2021-06-27 Thread Andrei Kulakov
Andrei Kulakov added the comment: Michael: Thanks for the report! would you like to create a PR? If not, I can do that. -- nosy: +andrei.avk ___ Python tracker ___

[issue43718] HTTP CONNECT response not subject to debug level

2021-04-03 Thread Michael Osipov
New submission from Michael Osipov <1983-01...@gmx.net>: 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