diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-06-08 09:45:58 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-06-08 09:45:58 (GMT) |
commit | 40de69ac588cece85fd3ed7fad06cdfdaf8f5e6a (patch) | |
tree | 050a0298638d1ccc2d272c8590a5277a12cd7bd1 /Doc/library/http.server.rst | |
parent | 58f016909e7feead26d9c6e772a96a66b6e9f970 (diff) | |
parent | e42e129ebec9918adcae6f93b18bb6652f29c3fe (diff) | |
download | cpython-40de69ac588cece85fd3ed7fad06cdfdaf8f5e6a.zip cpython-40de69ac588cece85fd3ed7fad06cdfdaf8f5e6a.tar.gz cpython-40de69ac588cece85fd3ed7fad06cdfdaf8f5e6a.tar.bz2 |
Issue #25738: Merge HTTP server from 3.5
Diffstat (limited to 'Doc/library/http.server.rst')
-rw-r--r-- | Doc/library/http.server.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst index e4b985a..8f2ba89 100644 --- a/Doc/library/http.server.rst +++ b/Doc/library/http.server.rst @@ -191,7 +191,9 @@ of which this module provides three different variants: a complete set of headers, as the response body. The :attr:`responses` attribute holds the default values for *message* and *explain* that will be used if no value is provided; for unknown codes the default value - for both is the string ``???``. + for both is the string ``???``. The body will be empty if the method is + HEAD or the response code is one of the following: ``1xx``, + ``204 No Content``, ``205 Reset Content``, ``304 Not Modified``. .. versionchanged:: 3.4 The error response includes a Content-Length header. |