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

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

Issue 22417: PEP 476: verify HTTPS certificates by default
Left Patch Set: Created 4 years, 7 months ago
Right Patch Set: Created 4 years, 7 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 | « no previous file | Doc/library/urllib.request.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:`http.client` --- HTTP protocol client 1 :mod:`http.client` --- HTTP protocol client
2 =========================================== 2 ===========================================
3 3
4 .. module:: http.client 4 .. module:: http.client
5 :synopsis: HTTP and HTTPS protocol client (requires sockets). 5 :synopsis: HTTP and HTTPS protocol client (requires sockets).
6 6
7 7
8 .. index:: 8 .. index::
9 pair: HTTP; protocol 9 pair: HTTP; protocol
10 single: HTTP; http.client (standard module) 10 single: HTTP; http.client (standard module)
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 *source_address*, *context* and *check_hostname* were added. 84 *source_address*, *context* and *check_hostname* were added.
85 85
86 .. versionchanged:: 3.2 86 .. versionchanged:: 3.2
87 This class now supports HTTPS virtual hosts if possible (that is, 87 This class now supports HTTPS virtual hosts if possible (that is,
88 if :data:`ssl.HAS_SNI` is true). 88 if :data:`ssl.HAS_SNI` is true).
89 89
90 .. versionchanged:: 3.4 90 .. versionchanged:: 3.4
91 The *strict* parameter was removed. HTTP 0.9-style "Simple Responses" are 91 The *strict* parameter was removed. HTTP 0.9-style "Simple Responses" are
92 no longer supported. 92 no longer supported.
93 93
94 .. versionchanged:: 3.5 94 .. versionchanged:: 3.4.3
95 This class now performs all the necessary certificate and hostname checks 95 This class now performs all the necessary certificate and hostname checks
96 by default. To revert to the previous, unverified, behavior 96 by default. To revert to the previous, unverified, behavior
97 :func:`ssl._create_unverified_context` can be passed to the *context* 97 :func:`ssl._create_unverified_context` can be passed to the *context*
98 parameter. 98 parameter.
99 99
100 100
101 .. class:: HTTPResponse(sock, debuglevel=0, method=None, url=None) 101 .. class:: HTTPResponse(sock, debuglevel=0, method=None, url=None)
102 102
103 Class whose instances are returned upon successful connection. Not 103 Class whose instances are returned upon successful connection. Not
104 instantiated directly by user. 104 instantiated directly by user.
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 672
673 .. _httpmessage-objects: 673 .. _httpmessage-objects:
674 674
675 HTTPMessage Objects 675 HTTPMessage Objects
676 ------------------- 676 -------------------
677 677
678 An :class:`http.client.HTTPMessage` instance holds the headers from an HTTP 678 An :class:`http.client.HTTPMessage` instance holds the headers from an HTTP
679 response. It is implemented using the :class:`email.message.Message` class. 679 response. It is implemented using the :class:`email.message.Message` class.
680 680
681 .. XXX Define the methods that clients can depend upon between versions. 681 .. XXX Define the methods that clients can depend upon between versions.
LEFTRIGHT

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