[Python-checkins] r46617 - python/trunk/Doc/lib/liburllib2.tex
andrew.kuchling
python-checkins at python.org
Sat Jun 3 20:43:25 CEST 2006
Author: andrew.kuchling
Date: Sat Jun 3 20:43:24 2006
New Revision: 46617
Modified:
python/trunk/Doc/lib/liburllib2.tex
Log:
Minor rewording
Modified: python/trunk/Doc/lib/liburllib2.tex
==============================================================================
--- python/trunk/Doc/lib/liburllib2.tex (original)
+++ python/trunk/Doc/lib/liburllib2.tex Sat Jun 3 20:43:24 2006
@@ -18,13 +18,13 @@
Open the URL \var{url}, which can be either a string or a \class{Request}
object.
-\var{data} should be a string, which specifies additional data to send
-to the server. Currently HTTP requests are the only ones that use
-\var{data}. For HTTP, the request will be a POST instead of a GET
-when the \var{data} parameter is provided. \var{data} should be a
-buffer in the standard \mimetype{application/x-www-form-urlencoded} format.
-The \function{urllib.urlencode()} function takes a mapping or
-sequence of 2-tuples and returns a string in this format.
+\var{data} may be a string specifying additional data to send to the
+server. Currently HTTP requests are the only ones that use \var{data};
+the HTTP request will be a POST instead of a GET when the \var{data}
+parameter is provided. \var{data} should be a buffer in the standard
+\mimetype{application/x-www-form-urlencoded} format. The
+\function{urllib.urlencode()} function takes a mapping or sequence of
+2-tuples and returns a string in this format.
This function returns a file-like object with two additional methods:
More information about the Python-checkins
mailing list