[Python-Dev] [Python-checkins] r85101 - in python/branches/py3k/Doc/library: http.client.rst urllib.request.rst

Eric Smith eric at trueblade.com
Wed Sep 29 23:44:36 CEST 2010


On 9/29/2010 7:24 AM, antoine.pitrou wrote:

> 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	Wed Sep 29 13:24:21 2010
> @@ -11,6 +11,10 @@
>   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:

That wording is a little awkward. How about: "When opening HTTPS (or 
FTPS) URLs, no attempt is made to validate the server certificate. Use 
at your own risk."


More information about the Python-Dev mailing list