summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2003-05-20 02:56:35 (GMT)
committerBrett Cannon <bcannon@gmail.com>2003-05-20 02:56:35 (GMT)
commit235d1efe12817d78c574af7b942c47d4ff94feae (patch)
tree7253bf58f7791e9499a5453784393f27f8a26de6 /Doc
parentbe67d87e4d6a63faefef40888a966a663ae54380 (diff)
downloadcpython-235d1efe12817d78c574af7b942c47d4ff94feae.zip
cpython-235d1efe12817d78c574af7b942c47d4ff94feae.tar.gz
cpython-235d1efe12817d78c574af7b942c47d4ff94feae.tar.bz2
Add docs for key_file and cert_file arguments for HTTPSConnection. Copied from socket.ssl docs.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libhttplib.tex8
1 files changed, 7 insertions, 1 deletions
diff --git a/Doc/lib/libhttplib.tex b/Doc/lib/libhttplib.tex
index d89ee9c..59e6428 100644
--- a/Doc/lib/libhttplib.tex
+++ b/Doc/lib/libhttplib.tex
@@ -52,9 +52,15 @@ the server at the same host and port:
\versionadded{2.0}
\end{classdesc}
-\begin{classdesc}{HTTPSConnection}{host\optional{, port}}
+\begin{classdesc}{HTTPSConnection}{host\optional{, port, key_file, cert_file}}
A subclass of \class{HTTPConnection} that uses SSL for communication with
secure servers. Default port is \code{443}.
+\var{key_file} is
+the name of a PEM formatted file that contains your private
+key. \var{cert_file} is a PEM formatted certificate chain file.
+
+\warning{This does not do any certificate verification!}
+
\versionadded{2.0}
\end{classdesc}