Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(77121)

Delta Between Two Patch Sets: Doc/library/xmlrpc.client.rst

Issue 22417: PEP 476: verify HTTPS certificates by default
Left Patch Set: Created 4 years, 9 months ago
Right Patch Set: Created 4 years, 9 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Doc/library/urllib.request.rst ('k') | Doc/whatsnew/3.4.rst » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 :mod:`xmlrpc.client` --- XML-RPC client access 1 :mod:`xmlrpc.client` --- XML-RPC client access
2 ============================================== 2 ==============================================
3 3
4 .. module:: xmlrpc.client 4 .. module:: xmlrpc.client
5 :synopsis: XML-RPC client access. 5 :synopsis: XML-RPC client access.
6 .. moduleauthor:: Fredrik Lundh <fredrik@pythonware.com> 6 .. moduleauthor:: Fredrik Lundh <fredrik@pythonware.com>
7 .. sectionauthor:: Eric S. Raymond <esr@snark.thyrsus.com> 7 .. sectionauthor:: Eric S. Raymond <esr@snark.thyrsus.com>
8 8
9 9
10 .. XXX Not everything is documented yet. It might be good to describe 10 .. XXX Not everything is documented yet. It might be good to describe
11 Marshaller, Unmarshaller, getparser and Transport. 11 Marshaller, Unmarshaller, getparser and Transport.
12 12
13 **Source code:** :source:`Lib/xmlrpc/client.py` 13 **Source code:** :source:`Lib/xmlrpc/client.py`
14 14
15 -------------- 15 --------------
16 16
17 XML-RPC is a Remote Procedure Call method that uses XML passed via HTTP as a 17 XML-RPC is a Remote Procedure Call method that uses XML passed via HTTP as a
18 transport. With it, a client can call methods with parameters on a remote 18 transport. With it, a client can call methods with parameters on a remote
19 server (the server is named by a URI) and get back structured data. This module 19 server (the server is named by a URI) and get back structured data. This module
20 supports writing XML-RPC client code; it handles all the details of translating 20 supports writing XML-RPC client code; it handles all the details of translating
21 between conformable Python objects and XML on the wire. 21 between conformable Python objects and XML on the wire.
22 22
23 23
24 .. warning:: 24 .. warning::
25 25
26 The :mod:`xmlrpc.client` module is not secure against maliciously 26 The :mod:`xmlrpc.client` module is not secure against maliciously
27 constructed data. If you need to parse untrusted or unauthenticated data see 27 constructed data. If you need to parse untrusted or unauthenticated data see
28 :ref:`xml-vulnerabilities`. 28 :ref:`xml-vulnerabilities`.
29 29
30 .. versionchanged:: 3.4.3
31
32 For https URIs, :mod:`xmlrpc.client` now performs all the necessary
33 certificate and hostname checks by default
30 34
31 .. class:: ServerProxy(uri, transport=None, encoding=None, verbose=False, \ 35 .. class:: ServerProxy(uri, transport=None, encoding=None, verbose=False, \
32 allow_none=False, use_datetime=False, \ 36 allow_none=False, use_datetime=False, \
33 use_builtin_types=False) 37 use_builtin_types=False)
34 38
35 .. versionchanged:: 3.3 39 .. versionchanged:: 3.3
36 The *use_builtin_types* flag was added. 40 The *use_builtin_types* flag was added.
37 41
38 A :class:`ServerProxy` instance is an object that manages communication with a 42 A :class:`ServerProxy` instance is an object that manages communication with a
39 remote XML-RPC server. The required first argument is a URI (Uniform Resourc e 43 remote XML-RPC server. The required first argument is a URI (Uniform Resourc e
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 See :ref:`simplexmlrpcserver-example`. 569 See :ref:`simplexmlrpcserver-example`.
566 570
567 571
568 .. rubric:: Footnotes 572 .. rubric:: Footnotes
569 573
570 .. [#] This approach has been first presented in `a discussion on xmlrpc.com 574 .. [#] This approach has been first presented in `a discussion on xmlrpc.com
571 <http://web.archive.org/web/20060624230303/http://www.xmlrpc.com/discuss/msgR eader$1208?mode=topic>`_. 575 <http://web.archive.org/web/20060624230303/http://www.xmlrpc.com/discuss/msgR eader$1208?mode=topic>`_.
572 .. the link now points to webarchive since the one at 576 .. the link now points to webarchive since the one at
573 .. http://www.xmlrpc.com/discuss/msgReader%241208 is broken (and webadmin 577 .. http://www.xmlrpc.com/discuss/msgReader%241208 is broken (and webadmin
574 .. doesn't reply) 578 .. doesn't reply)
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+