Commit 45782c46 authored by Senthil Kumaran's avatar Senthil Kumaran

issue14427 - Document Request.get_header and Request.header_items

parents 6ae59f4e cdf50bb3
......@@ -502,6 +502,18 @@ request.
.. deprecated:: 3.3
.. method:: Request.get_header(header_name, default=None)
Return the value of the given header. If the header is not present, return
the default value.
.. method:: Request.header_items()
Return a list of tuples (header_name, header_value) of the Request headers.
.. method:: Request.set_proxy(host, type)
.. method:: Request.get_origin_req_host()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment