mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #12039: Add end_headers() call to avoid BadStatusLine.
This commit is contained in:
parent
809d116fa9
commit
463ac515ee
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue