summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2012-10-11 06:16:21 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2012-10-11 06:16:21 (GMT)
commit52d27204990775bddd2868b093f33d2fda842fac (patch)
tree0fac4a7c7cbcb187154932f2249742f02cb0d3d0 /Doc
parentec7c16d2b47e837cb5692de8fc47e0276e9773f8 (diff)
downloadcpython-52d27204990775bddd2868b093f33d2fda842fac.zip
cpython-52d27204990775bddd2868b093f33d2fda842fac.tar.gz
cpython-52d27204990775bddd2868b093f33d2fda842fac.tar.bz2
Issue #16088: BaseHTTPRequestHandler's send_error method includes a
Content-Length header. Patch by Antoine Pitrou.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/http.server.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst
index cbad3ed..0577d5e 100644
--- a/Doc/library/http.server.rst
+++ b/Doc/library/http.server.rst
@@ -177,6 +177,9 @@ of which this module provides three different variants:
complete set of headers is sent, followed by text composed using the
:attr:`error_message_format` class variable.
+ .. versionchanged:: 3.4
+ The error response includes a Content-Length header.
+
.. method:: send_response(code, message=None)
Adds a response header to the headers buffer and logs the accepted