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 c247e94 commit 68d5f5aCopy full SHA for 68d5f5a
1 file changed
Lib/test/test_httplib.py
@@ -1879,11 +1879,13 @@ def test_getting_header_defaultint(self):
1879
header = self.resp.getheader('No-Such-Header',default=42)
1880
self.assertEqual(header, 42)
1881
1882
+
1883
class TunnelTests(TestCase):
1884
1885
def setUp(self):
1886
response_text = (
- 'HTTP/1.0 200 OK\r\n\r\n' # Reply to CONNECT
- 'HTTP/1.1 200 OK\r\n' # Reply to HEAD
1887
+ 'HTTP/1.0 200 OK\r\n\r\n' # Reply to CONNECT
1888
+ 'HTTP/1.1 200 OK\r\n' # Reply to HEAD
1889
'Content-Length: 42\r\n\r\n'
1890
)
1891
self.host = 'proxy.com'
0 commit comments