diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-11-29 23:34:30 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-11-29 23:34:30 -0500 |
commit | e39bba2ab18db15e629f1738f0daf269de086724 (patch) | |
tree | 7dc4c0651fb3cb6398d841c809fcd738b4f81a56 /Doc | |
parent | 3a9c68e608aca856da55eb5765173d3bf0a55ed2 (diff) | |
parent | c1da3d1ed86284cc49cd7880a57a404de8965b24 (diff) | |
download | cpython-git-e39bba2ab18db15e629f1738f0daf269de086724.tar.gz |
merge 3.4 (#22960)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/xmlrpc.client.rst | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Doc/library/xmlrpc.client.rst b/Doc/library/xmlrpc.client.rst index 1d87f49f77..cc40920644 100644 --- a/Doc/library/xmlrpc.client.rst +++ b/Doc/library/xmlrpc.client.rst @@ -27,14 +27,14 @@ between conformable Python objects and XML on the wire. constructed data. If you need to parse untrusted or unauthenticated data see :ref:`xml-vulnerabilities`. -.. versionchanged:: 3.4.3 +.. versionchanged:: 3.5 For https URIs, :mod:`xmlrpc.client` now performs all the necessary certificate and hostname checks by default .. class:: ServerProxy(uri, transport=None, encoding=None, verbose=False, \ allow_none=False, use_datetime=False, \ - use_builtin_types=False) + use_builtin_types=False, context=None) .. versionchanged:: 3.3 The *use_builtin_types* flag was added. @@ -63,7 +63,9 @@ between conformable Python objects and XML on the wire. 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. + Authentication user and password. If an HTTPS url is provided, *context* may + be :class:`ssl.SSLContext` and configures the SSL settings of the underlying + HTTPS connection. 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 @@ -127,6 +129,9 @@ between conformable Python objects and XML on the wire. :class:`Server` is retained as an alias for :class:`ServerProxy` for backwards compatibility. New code should use :class:`ServerProxy`. + .. versionchanged:: 3.5 + Added the *context* argument. + .. seealso:: |