summaryrefslogtreecommitdiffstats
path: root/Doc/library/http.client.rst
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-09-29 11:24:21 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-09-29 11:24:21 (GMT)
commit79ecd7621e9cacbe10b7429633f9e3f77dcd6429 (patch)
tree958d9c3c34642cc823417fb4b6a328db7a28346f /Doc/library/http.client.rst
parentc3ed2e7f8326d703ed971220a7eb76317341efbf (diff)
downloadcpython-79ecd7621e9cacbe10b7429633f9e3f77dcd6429.zip
cpython-79ecd7621e9cacbe10b7429633f9e3f77dcd6429.tar.gz
cpython-79ecd7621e9cacbe10b7429633f9e3f77dcd6429.tar.bz2
Issue #9983: warn that urllib and httplib don't perform SSL certificate validation.
Diffstat (limited to 'Doc/library/http.client.rst')
-rw-r--r--Doc/library/http.client.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst
index 2a5c37c..9df61b7 100644
--- a/Doc/library/http.client.rst
+++ b/Doc/library/http.client.rst
@@ -53,13 +53,13 @@ The module provides the following classes:
.. class:: HTTPSConnection(host, port=None, key_file=None, cert_file=None, strict=None[, timeout[, source_address]])
A subclass of :class:`HTTPConnection` that uses SSL for communication with
- secure servers. Default port is ``443``. *key_file* is the name of a PEM
- formatted file that contains your private key. *cert_file* is a PEM formatted
- certificate chain file.
+ secure servers. Default port is ``443``. *key_file* is the name of a PEM
+ formatted file that contains your private key, and *cert_file* is a PEM
+ formatted certificate chain file; both can be used for authenticating
+ yourself against the server.
- .. note::
-
- This does not do any certificate verification.
+ .. warning::
+ This does not do any verification of the server's certificate.
.. versionchanged:: 3.2
*source_address* was added.