[Python-checkins] r85153 - python/branches/py3k/Doc/library/urllib.request.rst
amaury.forgeotdarc
python-checkins at python.org
Sat Oct 2 01:42:24 CEST 2010
Author: amaury.forgeotdarc
Date: Sat Oct 2 01:42:24 2010
New Revision: 85153
Log:
Lower the tone of the warning about SSL certificate validation.
Modified:
python/branches/py3k/Doc/library/urllib.request.rst
Modified: python/branches/py3k/Doc/library/urllib.request.rst
==============================================================================
--- python/branches/py3k/Doc/library/urllib.request.rst (original)
+++ python/branches/py3k/Doc/library/urllib.request.rst Sat Oct 2 01:42:24 2010
@@ -11,9 +11,6 @@
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 @@
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
More information about the Python-checkins
mailing list