[Python-checkins] CVS: python/dist/src/Doc/lib liburllib.tex,1.24,1.25

Fred L. Drake python-dev@python.org
Wed, 23 Aug 2000 18:06:43 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv26227/lib

Modified Files:
	liburllib.tex 
Log Message:

Moshe Zadka <moshez@math.huji.ac.il>:
Documentation updates for urlretrieve() and URLopener.retrieve(), to
reflect Randall Hopper's patch for those functions.

This closes SourceForge patch #100837.


Index: liburllib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/liburllib.tex,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** liburllib.tex	2000/07/28 13:51:27	1.24
--- liburllib.tex	2000/08/24 01:06:40	1.25
***************
*** 116,119 ****
--- 116,125 ----
  FTP servers which do not return a file size in response to a retrieval 
  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;
+ see the \function{urlencode()} function below.
  \end{funcdesc}
  
***************
*** 289,292 ****
--- 295,304 ----
  chunk of data is read from the network.  \var{reporthook} is ignored for
  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;
+ see the \function{urlencode()} function below.
  \end{methoddesc}