[Python-checkins] python/dist/src/Doc/lib libxmlrpclib.tex,1.10,1.11

effbot@users.sourceforge.net effbot@users.sourceforge.net
Tue, 22 Oct 2002 11:23:03 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv4346/Doc/lib

Modified Files:
	libxmlrpclib.tex 
Log Message:


add support for basic authentication, based on patch #624180
by Phillip J. Eby


Index: libxmlrpclib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libxmlrpclib.tex,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** libxmlrpclib.tex	19 Oct 2002 20:22:56 -0000	1.10
--- libxmlrpclib.tex	22 Oct 2002 18:23:00 -0000	1.11
***************
*** 29,32 ****
--- 29,39 ----
  fourth argument is a debugging flag.
  
+ Both the HTTP and HTTPS transports support the URL syntax extension for
+ HTTP Basic Authorization: \code{http://user:pass@host:port/path}.  The 
+ \code{user:pass} portion will be base64-encoded as an HTTP `Authorization'
+ header, and sent to the remote server as part of the connection process
+ when invoking an XML-RPC method.  You only need to use this if the
+ remote server requires a Basic Authentication user and password.
+ 
  The returned instance is a proxy object with methods that can be used
  to invoke corresponding RPC calls on the remote server.  If the remote