diff options
author | Brett Cannon <bcannon@gmail.com> | 2003-05-20 02:51:38 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2003-05-20 02:51:38 (GMT) |
commit | 9dbdfca3fcaa1f59041e7f5c257bba353bbab0b7 (patch) | |
tree | 3219a58fe8b015387828c6acfd17563bc5b18bc9 /Doc/lib | |
parent | a63d35f4869dec3b1f129fdcf58e284e6a50df5d (diff) | |
download | cpython-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.tex | 7 |
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: |