Logo Search packages:      
Sourcecode: vegastrike-data version File versions  Download package

CGIHTTPServer::CGIHTTPRequestHandler Class Reference

Inheritance diagram for CGIHTTPServer::CGIHTTPRequestHandler:

SimpleHTTPServer::SimpleHTTPRequestHandler BaseHTTPServer::BaseHTTPRequestHandler SocketServer::StreamRequestHandler SocketServer::BaseRequestHandler

List of all members.

Detailed Description

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.

Definition at line 31 of file CGIHTTPServer.py.

Public Member Functions

def __init__
def address_string
def copyfile
def date_time_string
def do_GET
def do_HEAD
def do_POST
def end_headers
def finish
def guess_type
def handle
def is_cgi
def is_executable
def is_python
def list_directory
def log_date_time_string
def log_error
def log_message
def log_request
def parse_request
def run_cgi
def send_error
def send_head
def send_header
def send_response
def setup
def translate_path
def version_string

Public Attributes


Static Public Attributes

list cgi_directories = ['/cgi-bin', '/htbin']
 error_message_format = DEFAULT_ERROR_MESSAGE
tuple extensions_map = mimetypes.types_map.copy()
tuple have_fork = hasattr(os, 'fork')
tuple have_popen2 = hasattr(os, 'popen2')
tuple have_popen3 = hasattr(os, 'popen3')
 MessageClass = mimetools.Message
list monthname
string protocol_version = "HTTP/1.0"
int rbufsize = 0
dictionary responses
string server_version = "SimpleHTTP/"
string sys_version = "Python/"
int wbufsize = 0
list weekdayname = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index