]> granicus.if.org Git - python/commitdiff
Add info about HTTP/1.1 and Connection:Close header.
authorSenthil Kumaran <orsenthil@gmail.com>
Sat, 21 Aug 2010 16:08:32 +0000 (16:08 +0000)
committerSenthil Kumaran <orsenthil@gmail.com>
Sat, 21 Aug 2010 16:08:32 +0000 (16:08 +0000)
Doc/library/urllib.request.rst

index 07554157f0e217397f90fafbca7bd76d1061b056..157896879b259337c4d09f984ddc22e3709d3a44 100644 (file)
@@ -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,