diff options
-rw-r--r-- | Lib/test/test_httplib.py | 3 | ||||
-rw-r--r-- | Misc/ACKS | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py index 50ddf18..9c1550e 100644 --- a/Lib/test/test_httplib.py +++ b/Lib/test/test_httplib.py @@ -1113,6 +1113,7 @@ class HTTPSTest(TestCase): context=context) h.request('GET', '/') resp = h.getresponse() + h.close() self.assertIn('nginx', resp.getheader('server')) @support.system_must_validate_cert @@ -1124,6 +1125,7 @@ class HTTPSTest(TestCase): h.request('GET', '/') resp = h.getresponse() content_type = resp.getheader('content-type') + h.close() self.assertIn('text/html', content_type) def test_networked_good_cert(self): @@ -1138,6 +1140,7 @@ class HTTPSTest(TestCase): h.request('GET', '/') resp = h.getresponse() server_string = resp.getheader('server') + h.close() self.assertIn('nginx', server_string) def test_networked_bad_cert(self): @@ -1270,6 +1270,7 @@ Alexander Shigin Pete Shinners Michael Shiplett John W. Shipman +Alex Shkop Joel Shprentz Yue Shuaijie Terrel Shumway |