We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c50bb33 commit 76d8d5bCopy full SHA for 76d8d5b
1 file changed
Lib/test/test_httplib.py
@@ -348,9 +348,9 @@ def test_invalid_headers(self):
348
349
def test_headers_debuglevel(self):
350
body = (
351
- b'HTTP/1.1 200 OK\r\n'
352
- b'First: val\r\n'
353
- b'Second: val\r\n'
+ b'200 OK'
+ b'First: val'
+ b'Second: val'
354
)
355
sock = FakeSocket(body)
356
resp = client.HTTPResponse(sock, debuglevel=1)
0 commit comments