[Python-checkins] python/dist/src/Doc/lib libhttplib.tex,1.33,1.34
bcannon@users.sourceforge.net
bcannon@users.sourceforge.net
Mon, 19 May 2003 19:56:38 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv17506/Doc/lib
Modified Files:
libhttplib.tex
Log Message:
Add docs for key_file and cert_file arguments for HTTPSConnection. Copied from socket.ssl docs.
Index: libhttplib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libhttplib.tex,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** libhttplib.tex 27 Jan 2003 16:32:04 -0000 1.33
--- libhttplib.tex 20 May 2003 02:56:35 -0000 1.34
***************
*** 53,59 ****
\end{classdesc}
! \begin{classdesc}{HTTPSConnection}{host\optional{, port}}
A subclass of \class{HTTPConnection} that uses SSL for communication with
secure servers. Default port is \code{443}.
\versionadded{2.0}
\end{classdesc}
--- 53,65 ----
\end{classdesc}
! \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}