From: Vinay Sajip Date: Sat, 29 Oct 2005 00:40:15 +0000 (+0000) Subject: Minor update to HTTPHandler documentation to indicate that host:port can be used. X-Git-Tag: v2.5a0~1213 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=00b5c932f3003765d8b322820122dee20cb68057;p=thirdparty%2FPython%2Fcpython.git Minor update to HTTPHandler documentation to indicate that host:port can be used. --- diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex index eb6fedb1e465..f2e5ca609ac5 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}