summaryrefslogtreecommitdiffstats
path: root/Lib/http/server.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-01-19 02:50:18 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-01-19 02:50:18 (GMT)
commit044242360d093ec56cd08860f25da7e024e118b9 (patch)
tree04ae26bff1390f1d10117cf7be508d0c10365645 /Lib/http/server.py
parent42953535686f7a8ed4dc250d9c87187c20462c1f (diff)
downloadcpython-044242360d093ec56cd08860f25da7e024e118b9.zip
cpython-044242360d093ec56cd08860f25da7e024e118b9.tar.gz
cpython-044242360d093ec56cd08860f25da7e024e118b9.tar.bz2
fix handling of 100-continue status code (closes #18574)
Diffstat (limited to 'Lib/http/server.py')
-rw-r--r--Lib/http/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/http/server.py b/Lib/http/server.py
index 2bfda12..7050b95 100644
--- a/Lib/http/server.py
+++ b/Lib/http/server.py
@@ -355,7 +355,7 @@ class BaseHTTPRequestHandler(socketserver.StreamRequestHandler):
"""
self.send_response_only(100)
- self.flush_headers()
+ self.end_headers()
return True
def handle_one_request(self):