File tree 1 file changed +9
-4
lines changed
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,16 @@ reading, and no seek operations are available.
26
26
27
27
.. seealso ::
28
28
29
- The `Requests package <http://requests.readthedocs .org/ >`_
29
+ The `Requests package <http://docs.python-requests .org/ >`_
30
30
is recommended for a higher-level HTTP client interface.
31
31
32
- .. warning :: When opening HTTPS URLs, it does not attempt to validate the
33
- server certificate. Use at your own risk!
32
+ .. versionchanged :: 2.7.9
33
+
34
+ For HTTPS URIs, :mod: `urllib ` performs all the neccessary certificate and hostname checks by default.
35
+
36
+ .. warning ::
37
+
38
+ For Python versions earlier than 2.7.9, urllib does not attempt to validate the server certificates of HTTPS URIs. Use at your own risk!
34
39
35
40
36
41
High-level interface
@@ -142,7 +147,7 @@ High-level interface
142
147
:envvar: `no_proxy ` environment variable.
143
148
144
149
.. versionchanged :: 2.7.9
145
- The *context * parameter was added.
150
+ The *context * parameter was added. All the neccessary certificate and hostname checks are done by default.
146
151
147
152
.. deprecated :: 2.6
148
153
The :func: `urlopen ` function has been removed in Python 3 in favor
You can’t perform that action at this time.
0 commit comments