Skip to content

gh-68443: Replace debug level-related logic in http client with logging #8633

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Minor fixes
  • Loading branch information
CuriousLearner committed Aug 27, 2018
commit 76d8d5bd920d71548b1f5acb4ef804626d7c2cec
6 changes: 3 additions & 3 deletions Lib/test/test_httplib.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,9 @@ def test_invalid_headers(self):

def test_headers_debuglevel(self):
body = (
b'HTTP/1.1 200 OK\r\n'
b'First: val\r\n'
b'Second: val\r\n'
b'200 OK'
b'First: val'
b'Second: val'
)
sock = FakeSocket(body)
resp = client.HTTPResponse(sock, debuglevel=1)
Expand Down