mirror of https://github.com/python/cpython
Issue #12039: Add end_headers() call to avoid BadStatusLine.
This commit is contained in:
parent
809d116fa9
commit
463ac515ee
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue