Commit 5b3e9e8d authored by Fred Drake's avatar Fred Drake

Misc. changes related to the new sections.

parent 9a9be1ac
...@@ -75,6 +75,7 @@ add new extensions to Python and how to embed it in other applications. ...@@ -75,6 +75,7 @@ add new extensions to Python and how to embed it in other applications.
\input{libuserdict} \input{libuserdict}
\input{liboperator} \input{liboperator}
\input{libtraceback} \input{libtraceback}
\input{liblinecache}
\input{libpickle} \input{libpickle}
\input{libcopyreg} % really copy_reg \input{libcopyreg} % really copy_reg
\input{libshelve} \input{libshelve}
...@@ -184,6 +185,8 @@ add new extensions to Python and how to embed it in other applications. ...@@ -184,6 +185,8 @@ add new extensions to Python and how to embed it in other applications.
\input{liburlparse} \input{liburlparse}
\input{libsocksvr} \input{libsocksvr}
\input{libbasehttp} \input{libbasehttp}
\input{libsimplehttp}
\input{libcgihttp}
\input{netdata} \input{netdata}
\input{libsgmllib} \input{libsgmllib}
......
...@@ -15,9 +15,8 @@ ...@@ -15,9 +15,8 @@
This module defines two classes for implementing HTTP servers This module defines two classes for implementing HTTP servers
(web servers). Usually, this module isn't used directly, but is used (web servers). Usually, this module isn't used directly, but is used
as a basis for building functioning web servers. See the as a basis for building functioning web servers. See the
\module{SimpleHTTPServer} and \module{CGIHTTPServer} modules. \module{SimpleHTTPServer}\refstmodindex{SimpleHTTPServer} and
\refstmodindex{SimpleHTTPServer} \refmodule{CGIHTTPServer}\refstmodindex{CGIHTTPServer} modules.
\refstmodindex{CGIHTTPServer}
The first class, \class{HTTPServer}, is a The first class, \class{HTTPServer}, is a
\class{SocketServer.TCPServer} subclass. It creates and listens at the \class{SocketServer.TCPServer} subclass. It creates and listens at the
...@@ -221,3 +220,12 @@ Returns the current date and time, formatted for logging. ...@@ -221,3 +220,12 @@ Returns the current date and time, formatted for logging.
Returns the client address, formatted for logging. A name lookup Returns the client address, formatted for logging. A name lookup
is performed on the client's IP address. is performed on the client's IP address.
\end{methoddesc} \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}
...@@ -23,12 +23,6 @@ on-line reference material. ...@@ -23,12 +23,6 @@ on-line reference material.
\item[Tkdnd.py] \item[Tkdnd.py]
--- Drag-and-drop support for \module{Tkinter}. --- Drag-and-drop support for \module{Tkinter}.
\item[CGIHTTPServer.py]
--- CGI-savvy HTTP Server
\item[SimpleHTTPServer.py]
--- Simple HTTP Server
\item[test] \item[test]
--- Regression testing framework. This is used for the Python --- Regression testing framework. This is used for the Python
regression test, but is useful for other Python libraries as well. regression test, but is useful for other Python libraries as well.
...@@ -53,9 +47,6 @@ Some of these are very old and/or not very robust; marked with ``hmm''. ...@@ -53,9 +47,6 @@ Some of these are very old and/or not very robust; marked with ``hmm''.
\item[dircmp.py] \item[dircmp.py]
--- class to build directory diff tools on --- class to build directory diff tools on
\item[linecache.py]
--- Cache lines from files (used by pdb)
\item[pipes.py] \item[pipes.py]
--- Conversion pipeline templates (hmm) --- Conversion pipeline templates (hmm)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment