]> granicus.if.org Git - python/commitdiff
Add docs for key_file and cert_file arguments for HTTPSConnection. Copied from socke...
authorBrett Cannon <bcannon@gmail.com>
Tue, 20 May 2003 02:56:35 +0000 (02:56 +0000)
committerBrett Cannon <bcannon@gmail.com>
Tue, 20 May 2003 02:56:35 +0000 (02:56 +0000)
Doc/lib/libhttplib.tex

index d89ee9c6ddd090114be80c2affa97193305b1971..59e6428d36a48f370d2637759434d68169cd37e9 100644 (file)
@@ -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}