From 463ac515eee16d5c242c266238c644ee15a16124 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Tue, 10 May 2011 09:10:08 +0100 Subject: [PATCH] Issue #12039: Add end_headers() call to avoid BadStatusLine. --- Lib/test/test_logging.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 1768e8b36db..c68de1045f1 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -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):