summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2003-05-20 02:51:38 (GMT)
committerBrett Cannon <bcannon@gmail.com>2003-05-20 02:51:38 (GMT)
commit9dbdfca3fcaa1f59041e7f5c257bba353bbab0b7 (patch)
tree3219a58fe8b015387828c6acfd17563bc5b18bc9 /Doc/lib
parenta63d35f4869dec3b1f129fdcf58e284e6a50df5d (diff)
downloadcpython-9dbdfca3fcaa1f59041e7f5c257bba353bbab0b7.zip
cpython-9dbdfca3fcaa1f59041e7f5c257bba353bbab0b7.tar.gz
cpython-9dbdfca3fcaa1f59041e7f5c257bba353bbab0b7.tar.bz2
Add docs for use of key_file and cert_file parameters.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libhttplib.tex7
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/lib/libhttplib.tex b/Doc/lib/libhttplib.tex
index 156e74b..810cf9c 100644
--- a/Doc/lib/libhttplib.tex
+++ b/Doc/lib/libhttplib.tex
@@ -41,9 +41,14 @@ the server at the same host and port:
\end{verbatim}
\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{keyfile} is
+the name of a PEM formatted file that contains your private
+key. \var{certfile} is a PEM formatted certificate chain file.
+
+\warning{This does not do any certificate verification!}
\end{classdesc}
The following exceptions are raised as appropriate: