]> granicus.if.org Git - python/commitdiff
Issue #12039: Add end_headers() call to avoid BadStatusLine.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 10 May 2011 08:10:08 +0000 (09:10 +0100)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 10 May 2011 08:10:08 +0000 (09:10 +0100)
Lib/test/test_logging.py

index 1768e8b36db6e8b8ca10e0b6ada91d2e30e80c73..c68de1045f1745c30a4279dba0709c0113572f9a 100644 (file)
@@ -1489,6 +1489,7 @@ class HTTPHandlerTest(BaseTest):
             except:
                 self.post_data = None
         request.send_response(200)
+        request.end_headers()
         self.handled.set()
 
     def test_output(self):