diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-01-19 02:50:18 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-01-19 02:50:18 (GMT) |
commit | 044242360d093ec56cd08860f25da7e024e118b9 (patch) | |
tree | 04ae26bff1390f1d10117cf7be508d0c10365645 /Lib/http | |
parent | 42953535686f7a8ed4dc250d9c87187c20462c1f (diff) | |
download | cpython-044242360d093ec56cd08860f25da7e024e118b9.zip cpython-044242360d093ec56cd08860f25da7e024e118b9.tar.gz cpython-044242360d093ec56cd08860f25da7e024e118b9.tar.bz2 |
fix handling of 100-continue status code (closes #18574)
Diffstat (limited to 'Lib/http')
-rw-r--r-- | Lib/http/server.py | 2 |
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): |