Module SimpleXMLRPCServer :: Class SimpleXMLRPCRequestHandler
[show private | hide private]
[frames | no frames]

Class SimpleXMLRPCRequestHandler

BaseRequestHandler --+        
                     |        
  StreamRequestHandler --+    
                         |    
    BaseHTTPRequestHandler --+
                             |
                            SimpleXMLRPCRequestHandler

Known Subclasses:
Co2Handler

Simple XML-RPC request handler class.

Handles all HTTP POST requests and attempts to decode them as XML-RPC requests.
Method Summary
  __init__(self, request, client_address, server)
(inherited from BaseRequestHandler)
  address_string(self)
Return the client address formatted for logging. (inherited from BaseHTTPRequestHandler)
  date_time_string(self)
Return the current date and time formatted for a message header. (inherited from BaseHTTPRequestHandler)
  do_POST(self)
Handles the HTTP POST request.
  end_headers(self)
Send the blank line ending the MIME headers. (inherited from BaseHTTPRequestHandler)
  finish(self)
(inherited from StreamRequestHandler)
  handle(self)
Handle multiple requests if necessary. (inherited from BaseHTTPRequestHandler)
  handle_one_request(self)
Handle a single HTTP request. (inherited from BaseHTTPRequestHandler)
  log_date_time_string(self)
Return the current time formatted for logging. (inherited from BaseHTTPRequestHandler)
  log_error(self, *args)
Log an error. (inherited from BaseHTTPRequestHandler)
  log_message(self, format, *args)
Log an arbitrary message. (inherited from BaseHTTPRequestHandler)
  log_request(self, code, size)
Selectively log an accepted request.
  parse_request(self)
Parse a request (internal). (inherited from BaseHTTPRequestHandler)
  send_error(self, code, message)
Send and log an error reply. (inherited from BaseHTTPRequestHandler)
  send_header(self, keyword, value)
Send a MIME header. (inherited from BaseHTTPRequestHandler)
  send_response(self, code, message)
Send the response header and log the response code. (inherited from BaseHTTPRequestHandler)
  setup(self)
(inherited from StreamRequestHandler)
  version_string(self)
Return the server software version string. (inherited from BaseHTTPRequestHandler)

Method Details

do_POST(self)

Handles the HTTP POST request.

Attempts to interpret all HTTP POST requests as XML-RPC calls, which are forwarded to the server's _dispatch method for handling.

log_request(self, code='-', size='-')

Selectively log an accepted request.

Generated by Epydoc 1.1 on Thu Oct 16 16:37:23 2003 http://epydoc.sf.net