Kaydet (Commit) 8dc50047 authored tarafından Senthil Kumaran's avatar Senthil Kumaran

issue14427 - Document Request.get_header and Request.header_items

üst 7e70a5c1
......@@ -447,6 +447,17 @@ request.
Return the selector --- the part of the URL that is sent to the server.
.. 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)
Prepare the request by connecting to a proxy server. The *host* and *type* will
......
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