[Python-checkins] cpython: Issue #12039: Add end_headers() call to avoid BadStatusLine.

vinay.sajip python-checkins at python.org
Tue May 10 10:10:15 CEST 2011


http://hg.python.org/cpython/rev/204e027dfa98
changeset: 70007:204e027dfa98
parent: 70005:c4ced3719761
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Tue May 10 09:10:08 2011 +0100
summary:
 Issue #12039: Add end_headers() call to avoid BadStatusLine.
files:
 Lib/test/test_logging.py | 1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -1489,6 +1489,7 @@
 except:
 self.post_data = None
 request.send_response(200)
+ request.end_headers()
 self.handled.set()
 
 def test_output(self):
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /