mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Minor update to HTTPHandler documentation to indicate that host:port can be used.
This commit is contained in:
parent
db390c1ad8
commit
00b5c932f3
1 changed files with 3 additions and 1 deletions
|
@ -1253,7 +1253,9 @@ Web server, using either \samp{GET} or \samp{POST} semantics.
|
|||
\begin{classdesc}{HTTPHandler}{host, url\optional{, method}}
|
||||
Returns a new instance of the \class{HTTPHandler} class. The
|
||||
instance is initialized with a host address, url and HTTP method.
|
||||
If no \var{method} is specified, \samp{GET} is used.
|
||||
The \var{host} can be of the form \code{host:port}, should you need to
|
||||
use a specific port number. If no \var{method} is specified, \samp{GET}
|
||||
is used.
|
||||
\end{classdesc}
|
||||
|
||||
\begin{methoddesc}{emit}{record}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue