[Python-checkins] r84235 - in python/branches/release27-maint: Doc/library/urllib2.rst

senthil.kumaran python-checkins at python.org
Sat Aug 21 18:14:54 CEST 2010


Author: senthil.kumaran
Date: Sat Aug 21 18:14:54 2010
New Revision: 84235

Log:
Merged revisions 84234 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84234 | senthil.kumaran | 2010-08-21 21:38:32 +0530 (Sat, 21 Aug 2010) | 3 lines
  
  Add info about HTTP/1.1 and Connection:Close header.
........


Modified:
   python/branches/release27-maint/   (props changed)
   python/branches/release27-maint/Doc/library/urllib2.rst

Modified: python/branches/release27-maint/Doc/library/urllib2.rst
==============================================================================
--- python/branches/release27-maint/Doc/library/urllib2.rst	(original)
+++ python/branches/release27-maint/Doc/library/urllib2.rst	Sat Aug 21 18:14:54 2010
@@ -31,7 +31,8 @@
    *data* parameter is provided.  *data* should be a buffer in the standard
    :mimetype:`application/x-www-form-urlencoded` format.  The
    :func:`urllib.urlencode` function takes a mapping or sequence of 2-tuples and
-   returns a string in this format.
+   returns a string in this format. urllib2 module sends HTTP/1.1 requests with
+   `Connection:close` header included.
 
    The optional *timeout* parameter specifies a timeout in seconds for blocking
    operations like the connection attempt (if not specified, the global default


More information about the Python-checkins mailing list