issue14427 - Document Request.get_header and Request.header_items
This commit is contained in:
commit
4b7698c468
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue