| Trees | Indices | Help |
|
|---|
|
|
SocketServer.BaseRequestHandler --+
|
SocketServer.StreamRequestHandler --+
|
BaseHTTPServer.BaseHTTPRequestHandler --+
|
SimpleHTTPServer.SimpleHTTPRequestHandler --+
|
CGIHTTPRequestHandler
Complete HTTP server with GET, HEAD and POST commands.
GET and HEAD also support running CGI scripts.
The POST command is *only* implemented for CGI scripts.
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
have_fork = True
|
|||
have_popen2 = True
|
|||
have_popen3 = True
|
|||
rbufsize = 0
|
|||
cgi_directories =
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
Serve a POST request. This is only implemented for CGI scripts. |
Version of send_head that support CGI scripts |
Test whether self.path corresponds to a CGI script. Return a tuple (dir, rest) if self.path requires running a CGI script, None if not. Note that rest begins with a slash if it is not empty. The default implementation tests whether the path begins with one of the strings in the list self.cgi_directories (and the next character is a '/' or the end of the string). |
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0 on Tue Jan 29 22:41:37 2008 | http://epydoc.sourceforge.net |