Commit c0765c23 authored by Fred Drake's avatar Fred Drake

Minor changes.

parent c825280e
...@@ -2,14 +2,16 @@ ...@@ -2,14 +2,16 @@
HTTP protocol client} HTTP protocol client}
\declaremodule{standard}{httplib} \declaremodule{standard}{httplib}
\modulesynopsis{HTTP protocol client (requires sockets).} \modulesynopsis{HTTP and HTTPS protocol client (requires sockets).}
\indexii{HTTP}{protocol} \indexii{HTTP}{protocol}
This module defines a class which implements the client side of the This module defines classes which implement the client side of the
HTTP protocol. It is normally not used directly --- the module HTTP and HTTPS protocols. It is normally not used directly --- the
\refmodule{urllib}\refstmodindex{urllib} uses it to handle URLs that module \refmodule{urllib}\refstmodindex{urllib} uses it to handle URLs
use HTTP. that use HTTP and HTTPS. \strong{Note:} HTTPS support is only
available if the \refmodule{socket} module was compiled with SSL
support.
The module defines one class, \class{HTTP}: The module defines one class, \class{HTTP}:
...@@ -111,6 +113,7 @@ read, using the \method{read()}, \method{readline()} or ...@@ -111,6 +113,7 @@ read, using the \method{read()}, \method{readline()} or
\method{readlines()} methods. \method{readlines()} methods.
\end{methoddesc} \end{methoddesc}
\subsection{Examples \label{httplib-examples}} \subsection{Examples \label{httplib-examples}}
Here is an example session that uses the \samp{GET} method: Here is an example session that uses the \samp{GET} method:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment