diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-08-21 16:08:32 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-08-21 16:08:32 (GMT) |
commit | 6cbe4275cbb48ae4161143f8b97636fc19f678e5 (patch) | |
tree | 0a3ad888fbb1e5b22dfb1427cda3d2a1018e42f9 /Doc | |
parent | ff562506d4fe445d9a50c55e534a8a78fad701ed (diff) | |
download | cpython-6cbe4275cbb48ae4161143f8b97636fc19f678e5.zip cpython-6cbe4275cbb48ae4161143f8b97636fc19f678e5.tar.gz cpython-6cbe4275cbb48ae4161143f8b97636fc19f678e5.tar.bz2 |
Add info about HTTP/1.1 and Connection:Close header.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/urllib.request.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 0755415..1578968 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -26,7 +26,8 @@ The :mod:`urllib.request` module defines the following functions: *data* should be a buffer in the standard :mimetype:`application/x-www-form-urlencoded` format. The :func:`urllib.parse.urlencode` function takes a mapping or sequence - of 2-tuples and returns a string in this format. + of 2-tuples and returns a string in this format. urllib.request module uses + HTTP/1.1 and includes `Connection:close` header in its HTTP requests. The optional *timeout* parameter specifies a timeout in seconds for blocking operations like the connection attempt (if not specified, |