Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 235d1ef

Browse files
committed
Add docs for key_file and cert_file arguments for HTTPSConnection. Copied from socket.ssl docs.
1 parent be67d87 commit 235d1ef

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Doc/lib/libhttplib.tex

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,15 @@ \section{\module{httplib} ---
5252
\versionadded{2.0}
5353
\end{classdesc}
5454

55-
\begin{classdesc}{HTTPSConnection}{host\optional{, port}}
55+
\begin{classdesc}{HTTPSConnection}{host\optional{, port, key_file, cert_file}}
5656
A subclass of \class{HTTPConnection} that uses SSL for communication with
5757
secure servers. Default port is \code{443}.
58+
\var{key_file} is
59+
the name of a PEM formatted file that contains your private
60+
key. \var{cert_file} is a PEM formatted certificate chain file.
61+
62+
\warning{This does not do any certificate verification!}
63+
5864
\versionadded{2.0}
5965
\end{classdesc}
6066

0 commit comments

Comments
 (0)