Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
19048c3a
Commit
19048c3a
authored
Jan 27, 2017
by
Senthil Kumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add clarity to the warning on certificate verification in urllib.
parent
72acb664
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
Doc/library/urllib.rst
Doc/library/urllib.rst
+9
-4
No files found.
Doc/library/urllib.rst
View file @
19048c3a
...
@@ -26,11 +26,16 @@ reading, and no seek operations are available.
...
@@ -26,11 +26,16 @@ reading, and no seek operations are available.
.. seealso::
.. seealso::
The `Requests package <http://
requests.readthedoc
s.org/>`_
The `Requests package <http://
docs.python-request
s.org/>`_
is recommended for a higher-level HTTP client interface.
is recommended for a higher-level HTTP client interface.
.. warning:: When opening HTTPS URLs, it does not attempt to validate the
.. versionchanged:: 2.7.9
server certificate. Use at your own risk!
For HTTPS URIs, :mod:`urllib` performs all the neccessary certificate and hostname checks by default.
.. warning::
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!
High-level interface
High-level interface
...
@@ -142,7 +147,7 @@ High-level interface
...
@@ -142,7 +147,7 @@ High-level interface
:envvar:`no_proxy` environment variable.
:envvar:`no_proxy` environment variable.
.. versionchanged:: 2.7.9
.. versionchanged:: 2.7.9
The *context* parameter was added.
The *context* parameter was added.
All the neccessary certificate and hostname checks are done by default.
.. deprecated:: 2.6
.. deprecated:: 2.6
The :func:`urlopen` function has been removed in Python 3 in favor
The :func:`urlopen` function has been removed in Python 3 in favor
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment