summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2011-05-10 09:10:08 +0100
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2011-05-10 09:10:08 +0100
commit463ac515eee16d5c242c266238c644ee15a16124 (patch)
tree804a5937af837f199cb90637cc4db1af9863bb2b
parent809d116fa936f60026cb92010a2506c362adef14 (diff)
downloadcpython-git-463ac515eee16d5c242c266238c644ee15a16124.tar.gz
Issue #12039: Add end_headers() call to avoid BadStatusLine.
-rw-r--r--Lib/test/test_logging.py1
1 files changed, 1 insertions, 0 deletions
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):