summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_logging.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2011-05-10 08:10:08 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2011-05-10 08:10:08 (GMT)
commit463ac515eee16d5c242c266238c644ee15a16124 (patch)
tree804a5937af837f199cb90637cc4db1af9863bb2b /Lib/test/test_logging.py
parent809d116fa936f60026cb92010a2506c362adef14 (diff)
downloadcpython-463ac515eee16d5c242c266238c644ee15a16124.zip
cpython-463ac515eee16d5c242c266238c644ee15a16124.tar.gz
cpython-463ac515eee16d5c242c266238c644ee15a16124.tar.bz2
Issue #12039: Add end_headers() call to avoid BadStatusLine.
Diffstat (limited to 'Lib/test/test_logging.py')
-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 1768e8b..c68de10 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):