diff options
author | Fred Drake <fdrake@acm.org> | 2000-12-15 23:57:51 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-12-15 23:57:51 (GMT) |
commit | 51001336859e9c7d046f7c77cd51bbd2155d8ec1 (patch) | |
tree | a11dc9b72c78f6138762216ee669a4ffe449e707 /Doc/lib | |
parent | f16527c86386f4a3fe793491bf7bdcd7ce74c8dc (diff) | |
download | cpython-51001336859e9c7d046f7c77cd51bbd2155d8ec1.zip cpython-51001336859e9c7d046f7c77cd51bbd2155d8ec1.tar.gz cpython-51001336859e9c7d046f7c77cd51bbd2155d8ec1.tar.bz2 |
urlretrieve() description included explanation of "data" parameter, but
did not include it in the signature.
Fixed some markup nits.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/liburllib.tex | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/lib/liburllib.tex b/Doc/lib/liburllib.tex index 5a4fad0..7fe68cf 100644 --- a/Doc/lib/liburllib.tex +++ b/Doc/lib/liburllib.tex @@ -59,7 +59,7 @@ redirected URL. If the \var{url} uses the \file{http:} scheme identifier, the optional \var{data} argument may be given to specify a \code{POST} request (normally the request type is \code{GET}). The \var{data} argument -must in standard \file{application/x-www-form-urlencoded} format; +must in standard \mimetype{application/x-www-form-urlencoded} format; see the \function{urlencode()} function below. The \function{urlopen()} function works transparently with proxies @@ -83,7 +83,8 @@ Proxies which require authentication for use are not currently supported; this is considered an implementation limitation. \end{funcdesc} -\begin{funcdesc}{urlretrieve}{url\optional{, filename\optional{, hook}}} +\begin{funcdesc}{urlretrieve}{url\optional{, filename\optional{, + reporthook\optional{, data}}}} Copy a network object denoted by a URL to a local file, if necessary. If the URL points to a local file, or a valid cached copy of the object exists, the object is not copied. Return a tuple @@ -107,7 +108,7 @@ request. If the \var{url} uses the \file{http:} scheme identifier, the optional \var{data} argument may be given to specify a \code{POST} request (normally the request type is \code{GET}). The \var{data} argument -must in standard \file{application/x-www-form-urlencoded} format; +must in standard \mimetype{application/x-www-form-urlencoded} format; see the \function{urlencode()} function below. \end{funcdesc} @@ -294,7 +295,7 @@ local URLs. If the \var{url} uses the \file{http:} scheme identifier, the optional \var{data} argument may be given to specify a \code{POST} request (normally the request type is \code{GET}). The \var{data} argument -must in standard \file{application/x-www-form-urlencoded} format; +must in standard \mimetype{application/x-www-form-urlencoded} format; see the \function{urlencode()} function below. \end{methoddesc} |