diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2005-10-29 00:40:15 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2005-10-29 00:40:15 (GMT) |
commit | 00b5c932f3003765d8b322820122dee20cb68057 (patch) | |
tree | 01acf329bb1ab2fabcc1d56ed5c2e1ae13ec7632 /Doc | |
parent | db390c1ad8e2c8049e1d0d3828a979c75d1621b9 (diff) | |
download | cpython-00b5c932f3003765d8b322820122dee20cb68057.zip cpython-00b5c932f3003765d8b322820122dee20cb68057.tar.gz cpython-00b5c932f3003765d8b322820122dee20cb68057.tar.bz2 |
Minor update to HTTPHandler documentation to indicate that host:port can be used.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/liblogging.tex | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex index eb6fedb..f2e5ca6 100644 --- a/Doc/lib/liblogging.tex +++ b/Doc/lib/liblogging.tex @@ -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} |