mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
Minor changes.
This commit is contained in:
parent
c825280ea5
commit
c0765c2381
1 changed files with 8 additions and 5 deletions
|
|
@ -2,14 +2,16 @@
|
|||
HTTP protocol client}
|
||||
|
||||
\declaremodule{standard}{httplib}
|
||||
\modulesynopsis{HTTP protocol client (requires sockets).}
|
||||
\modulesynopsis{HTTP and HTTPS protocol client (requires sockets).}
|
||||
|
||||
\indexii{HTTP}{protocol}
|
||||
|
||||
This module defines a class which implements the client side of the
|
||||
HTTP protocol. It is normally not used directly --- the module
|
||||
\refmodule{urllib}\refstmodindex{urllib} uses it to handle URLs that
|
||||
use HTTP.
|
||||
This module defines classes which implement the client side of the
|
||||
HTTP and HTTPS protocols. It is normally not used directly --- the
|
||||
module \refmodule{urllib}\refstmodindex{urllib} uses it to handle URLs
|
||||
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}:
|
||||
|
||||
|
|
@ -111,6 +113,7 @@ read, using the \method{read()}, \method{readline()} or
|
|||
\method{readlines()} methods.
|
||||
\end{methoddesc}
|
||||
|
||||
|
||||
\subsection{Examples \label{httplib-examples}}
|
||||
|
||||
Here is an example session that uses the \samp{GET} method:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue