summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libxmlrpclib.tex
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2002-10-22 18:23:00 (GMT)
committerFredrik Lundh <fredrik@pythonware.com>2002-10-22 18:23:00 (GMT)
commit1303c7cb166ed404945ac79a3a20c06b702c6224 (patch)
tree3781c6ec3090c211e58a5ce025fcb4554d1350a5 /Doc/lib/libxmlrpclib.tex
parent7d428ecc57b25616f890f67398bdf190084f9d2d (diff)
downloadcpython-1303c7cb166ed404945ac79a3a20c06b702c6224.zip
cpython-1303c7cb166ed404945ac79a3a20c06b702c6224.tar.gz
cpython-1303c7cb166ed404945ac79a3a20c06b702c6224.tar.bz2
add support for basic authentication, based on patch #624180
by Phillip J. Eby
Diffstat (limited to 'Doc/lib/libxmlrpclib.tex')
-rw-r--r--Doc/lib/libxmlrpclib.tex7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/lib/libxmlrpclib.tex b/Doc/lib/libxmlrpclib.tex
index da96892..5d80c0d 100644
--- a/Doc/lib/libxmlrpclib.tex
+++ b/Doc/lib/libxmlrpclib.tex
@@ -28,6 +28,13 @@ URLs and an internal HTTP \class{Transport} instance otherwise. The
optional third argument is an encoding, by default UTF-8. The optional
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
server supports the introspection API, the proxy can also be used to query