summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libbasehttp.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-06-14 19:49:50 (GMT)
committerFred Drake <fdrake@acm.org>1999-06-14 19:49:50 (GMT)
commitc46864e982ab3cba2ab0ae6958fc90a46c5fade8 (patch)
tree47ea1aeea434315e05788fa19b2e1203b94cb79e /Doc/lib/libbasehttp.tex
parent21572fdcb60a6ab033a2dff66f871389ca1a89c1 (diff)
downloadcpython-c46864e982ab3cba2ab0ae6958fc90a46c5fade8.zip
cpython-c46864e982ab3cba2ab0ae6958fc90a46c5fade8.tar.gz
cpython-c46864e982ab3cba2ab0ae6958fc90a46c5fade8.tar.bz2
Misc. changes related to the new sections.
Diffstat (limited to 'Doc/lib/libbasehttp.tex')
-rw-r--r--Doc/lib/libbasehttp.tex14
1 files changed, 11 insertions, 3 deletions
diff --git a/Doc/lib/libbasehttp.tex b/Doc/lib/libbasehttp.tex
index 0a8a0fc..82714b1 100644
--- a/Doc/lib/libbasehttp.tex
+++ b/Doc/lib/libbasehttp.tex
@@ -15,9 +15,8 @@
This module defines two classes for implementing HTTP servers
(web servers). Usually, this module isn't used directly, but is used
as a basis for building functioning web servers. See the
-\module{SimpleHTTPServer} and \module{CGIHTTPServer} modules.
-\refstmodindex{SimpleHTTPServer}
-\refstmodindex{CGIHTTPServer}
+\module{SimpleHTTPServer}\refstmodindex{SimpleHTTPServer} and
+\refmodule{CGIHTTPServer}\refstmodindex{CGIHTTPServer} modules.
The first class, \class{HTTPServer}, is a
\class{SocketServer.TCPServer} subclass. It creates and listens at the
@@ -221,3 +220,12 @@ Returns the current date and time, formatted for logging.
Returns the client address, formatted for logging. A name lookup
is performed on the client's IP address.
\end{methoddesc}
+
+
+\begin{seealso}
+ \seemodule{CGIHTTPServer}{Extended request handler that supports CGI
+ scripts.}
+
+ \seemodule{SimpleHTTPServer}{Basic request handler that limits response
+ to files actually under the document root.}
+\end{seealso}