mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Minor changes to match the style guide.
This commit is contained in:
parent
4124a0b343
commit
8ee679f0ce
21 changed files with 79 additions and 72 deletions
|
@ -12,14 +12,14 @@
|
|||
\index{httpd}
|
||||
|
||||
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
|
||||
(Web servers). Usually, this module isn't used directly, but is used
|
||||
as a basis for building functioning Web servers. See the
|
||||
\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
|
||||
web socket, dispatching the requests to a handler. Code to create and
|
||||
\class{SocketServer.TCPServer} subclass. It creates and listens at the
|
||||
HTTP socket, dispatching the requests to a handler. Code to create and
|
||||
run the server looks like this:
|
||||
|
||||
\begin{verbatim}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue