From: Vinay Sajip Date: Tue, 10 May 2011 08:10:08 +0000 (+0100) Subject: Issue #12039: Add end_headers() call to avoid BadStatusLine. X-Git-Tag: v3.3.0a1~2323 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=463ac515eee16d5c242c266238c644ee15a16124;p=python Issue #12039: Add end_headers() call to avoid BadStatusLine. --- diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 1768e8b36d..c68de1045f 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):