Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
5b3e9e8d
Commit
5b3e9e8d
authored
Jun 14, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Misc. changes related to the new sections.
parent
9a9be1ac
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
12 deletions
+14
-12
Doc/lib/lib.tex
Doc/lib/lib.tex
+3
-0
Doc/lib/libbasehttp.tex
Doc/lib/libbasehttp.tex
+11
-3
Doc/lib/libundoc.tex
Doc/lib/libundoc.tex
+0
-9
No files found.
Doc/lib/lib.tex
View file @
5b3e9e8d
...
...
@@ -75,6 +75,7 @@ add new extensions to Python and how to embed it in other applications.
\input
{
libuserdict
}
\input
{
liboperator
}
\input
{
libtraceback
}
\input
{
liblinecache
}
\input
{
libpickle
}
\input
{
libcopyreg
}
% really copy_reg
\input
{
libshelve
}
...
...
@@ -184,6 +185,8 @@ add new extensions to Python and how to embed it in other applications.
\input
{
liburlparse
}
\input
{
libsocksvr
}
\input
{
libbasehttp
}
\input
{
libsimplehttp
}
\input
{
libcgihttp
}
\input
{
netdata
}
\input
{
libsgmllib
}
...
...
Doc/lib/libbasehttp.tex
View file @
5b3e9e8d
...
...
@@ -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}
Doc/lib/libundoc.tex
View file @
5b3e9e8d
...
...
@@ -23,12 +23,6 @@ on-line reference material.
\item
[Tkdnd.py]
--- Drag-and-drop support for
\module
{
Tkinter
}
.
\item
[CGIHTTPServer.py]
--- CGI-savvy HTTP Server
\item
[SimpleHTTPServer.py]
--- Simple HTTP Server
\item
[test]
--- Regression testing framework. This is used for the Python
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''.
\item
[dircmp.py]
--- class to build directory diff tools on
\item
[linecache.py]
--- Cache lines from files (used by pdb)
\item
[pipes.py]
--- Conversion pipeline templates (hmm)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment