summaryrefslogtreecommitdiff
path: root/Doc/library/urllib.request.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-11-03 14:29:33 -0500
committerBenjamin Peterson <benjamin@python.org>2014-11-03 14:29:33 -0500
commit56af18f1d69b51f08748d3bb537835b75c291525 (patch)
tree3419f151c61ade21d74dc30a833a1cecd10b8816 /Doc/library/urllib.request.rst
parenta013b6cf543ba561f4960e17d9ee0973c47c31e1 (diff)
downloadcpython-56af18f1d69b51f08748d3bb537835b75c291525.tar.gz
PEP 476: enable HTTPS certificate verification by default (#22417)
Patch by Alex Gaynor with some modifications by me.
Diffstat (limited to 'Doc/library/urllib.request.rst')
-rw-r--r--Doc/library/urllib.request.rst5
1 files changed, 0 insertions, 5 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index bd7340becd..ea9050f195 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -62,11 +62,6 @@ The :mod:`urllib.request` module defines the following functions:
*cafile* and *capath* parameters are omitted. This will only work on
some non-Windows platforms.
- .. warning::
- If neither *cafile* nor *capath* is specified, and *cadefault* is ``False``,
- an HTTPS request will not do any verification of the server's
- certificate.
-
For http and https urls, this function returns a
:class:`http.client.HTTPResponse` object which has the following
:ref:`httpresponse-objects` methods.