[Python-checkins] r84234 - python/branches/py3k/Doc/library/urllib.request.rst
senthil.kumaran
python-checkins at python.org
Sat Aug 21 18:08:32 CEST 2010
Author: senthil.kumaran
Date: Sat Aug 21 18:08:32 2010
New Revision: 84234
Log:
Add info about HTTP/1.1 and Connection:Close header.
Modified:
python/branches/py3k/Doc/library/urllib.request.rst
Modified: python/branches/py3k/Doc/library/urllib.request.rst
==============================================================================
--- python/branches/py3k/Doc/library/urllib.request.rst (original)
+++ python/branches/py3k/Doc/library/urllib.request.rst Sat Aug 21 18:08:32 2010
@@ -26,7 +26,8 @@
*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,
More information about the Python-checkins
mailing list