diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2014-04-16 17:56:19 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2014-04-16 17:56:19 (GMT) |
commit | cad2bf20c3c790cd3535742a46d5b116e07b7f43 (patch) | |
tree | 6d054385e482b9a006e0e73b535bf9340a5ff63c /Doc | |
parent | c04306166711bd0a12a4cf3f1b8c68fd0fb7e959 (diff) | |
download | cpython-cad2bf20c3c790cd3535742a46d5b116e07b7f43.zip cpython-cad2bf20c3c790cd3535742a46d5b116e07b7f43.tar.gz cpython-cad2bf20c3c790cd3535742a46d5b116e07b7f43.tar.bz2 |
Address issue 18229 - Explain http.server.BaseHTTPRequestHandler's .headers attribute further.
Initial patch by Caelyn McAulay.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/http.server.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst index dd19fb4..0d8e7fe 100644 --- a/Doc/library/http.server.rst +++ b/Doc/library/http.server.rst @@ -81,7 +81,10 @@ of which this module provides three different variants: Holds an instance of the class specified by the :attr:`MessageClass` class variable. This instance parses and manages the headers in the HTTP - request. + request. The :func:`~http.client.parse_headers` function from + :mod:`http.client` is used to parse the headers and it requires that the + HTTP request provide a valid :rfc:`2822` style header. + .. attribute:: rfile |