diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2012-10-11 06:16:21 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2012-10-11 06:16:21 (GMT) |
commit | 52d27204990775bddd2868b093f33d2fda842fac (patch) | |
tree | 0fac4a7c7cbcb187154932f2249742f02cb0d3d0 /Doc | |
parent | ec7c16d2b47e837cb5692de8fc47e0276e9773f8 (diff) | |
download | cpython-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.rst | 3 |
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 |