Package i2p :: Module SimpleHTTPServer :: Class SimpleHTTPRequestHandler
[show private | hide private]
[frames | no frames]

Class SimpleHTTPRequestHandler

BaseRequestHandler --+            
                     |            
  StreamRequestHandler --+        
                         |        
    BaseHTTPRequestHandler --+    
                             |    
      SimpleHTTPRequestHandler --+
                                 |
                                SimpleHTTPRequestHandler


Same interface as Python class SimpleHTTPServer.SimpleHTTPRequestHandler.
Method Summary
    Inherited from SimpleHTTPRequestHandler
  copyfile(self, source, outputfile)
Copy all data between two file objects.
  do_GET(self)
Serve a GET request.
  do_HEAD(self)
Serve a HEAD request.
  guess_type(self, path)
Guess the type of a file.
  list_directory(self, path)
Helper to produce a directory listing (absent index.html).
  send_head(self)
Common code for GET and HEAD commands.
  translate_path(self, path)
Translate a /-separated PATH to the local filename syntax.
    Inherited from BaseHTTPRequestHandler
  address_string(self)
Return the client address formatted for logging.
  date_time_string(self)
Return the current date and time formatted for a message header.
  end_headers(self)
Send the blank line ending the MIME headers.
  handle(self)
Handle multiple requests if necessary.
  handle_one_request(self)
Handle a single HTTP request.
  log_date_time_string(self)
Return the current time formatted for logging.
  log_error(self, *args)
Log an error.
  log_message(self, format, *args)
Log an arbitrary message.
  log_request(self, code, size)
Log an accepted request.
  parse_request(self)
Parse a request (internal).
  send_error(self, code, message)
Send and log an error reply.
  send_header(self, keyword, value)
Send a MIME header.
  send_response(self, code, message)
Send the response header and log the response code.
  version_string(self)
Return the server software version string.
    Inherited from StreamRequestHandler
  finish(self)
  setup(self)
    Inherited from BaseRequestHandler
  __init__(self, request, client_address, server)

Class Variable Summary
    Inherited from SimpleHTTPRequestHandler
dict extensions_map = {'': 'application/octet-stream', '.obj'...
str server_version = 'SimpleHTTP/0.6'
    Inherited from BaseHTTPRequestHandler
str error_message_format = '<head>\n<title>Error response</t...
list monthname = [None, 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'J...
str protocol_version = 'HTTP/1.0'
dict responses = {400: ('Bad request', 'Bad request syntax or...
str sys_version = 'Python/2.3.4'
list weekdayname = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat',...
    Inherited from StreamRequestHandler
int rbufsize = -1                                                                    
int wbufsize = 0                                                                     

Generated by Epydoc 2.1 on Mon Aug 02 01:07:41 2004 http://epydoc.sf.net