mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Address issue 18229 - Explain http.server.BaseHTTPRequestHandler's .headers attribute further.
Initial patch by Caelyn McAulay.
This commit is contained in:
parent
c043061667
commit
cad2bf20c3
1 changed files with 4 additions and 1 deletions
|
@ -81,7 +81,10 @@ of which this module provides three different variants:
|
||||||
|
|
||||||
Holds an instance of the class specified by the :attr:`MessageClass` class
|
Holds an instance of the class specified by the :attr:`MessageClass` class
|
||||||
variable. This instance parses and manages the headers in the HTTP
|
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
|
.. attribute:: rfile
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue