summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2010-10-01 23:42:24 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2010-10-01 23:42:24 (GMT)
commitea8676bf8b09003e29278af25e495050638fda47 (patch)
tree8e409cada57d9f3c0f9a33156301b4767e067851
parent70a9993bfde88b9f36ea25d3c09e8d8fe082e6c9 (diff)
downloadcpython-ea8676bf8b09003e29278af25e495050638fda47.zip
cpython-ea8676bf8b09003e29278af25e495050638fda47.tar.gz
cpython-ea8676bf8b09003e29278af25e495050638fda47.tar.bz2
Lower the tone of the warning about SSL certificate validation.
-rw-r--r--Doc/library/urllib.request.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index 4a897ad..84cb77b 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -11,9 +11,6 @@ The :mod:`urllib.request` module defines functions and classes which help in
opening URLs (mostly HTTP) in a complex world --- basic and digest
authentication, redirections, cookies and more.
-.. warning:: When opening HTTPS (or FTPS) URLs, it is not attempted to
- validate the server certificate. Use at your own risk!
-
The :mod:`urllib.request` module defines the following functions:
@@ -23,6 +20,10 @@ The :mod:`urllib.request` module defines the following functions:
Open the URL *url*, which can be either a string or a
:class:`Request` object.
+ .. warning::
+ HTTPS (or FTPS) requests do not do any verification of the server's
+ certificate.
+
*data* may be a string specifying additional data to send to the
server, or ``None`` if no such data is needed. Currently HTTP
requests are the only ones that use *data*; the HTTP request will