cpython: 6a9f100e138c (original) (raw)
Mercurial > cpython
changeset 76608:6a9f100e138c 3.2
issue14427 - Document Request.get_header and Request.header_items [#14427]
Senthil Kumaran senthil@uthcode.com | |
---|---|
date | Sun, 29 Apr 2012 11:50:39 +0800 |
parents | 1a9d38966395 |
children | 261de1701343 7f35da912739 |
files | Doc/library/urllib.request.rst |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-)[+] [-] Doc/library/urllib.request.rst 11 |
line wrap: on
line diff
--- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -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) +
+ +.. method:: Request.header_items() +
+ .. method:: Request.set_proxy(host, type) Prepare the request by connecting to a proxy server. The host and type will