Module SimpleXMLRPCServer :: Class CGIXMLRPCRequestHandler
[hide private]
[frames] | no frames]

_ClassType CGIXMLRPCRequestHandler

SimpleXMLRPCDispatcher --+
                         |
                        CGIXMLRPCRequestHandler
Known Subclasses:

Simple handler for XML-RPC data passed through CGI.

Instance Methods [hide private]
 
__init__(self, allow_none=False, encoding=None)
 
handle_xmlrpc(self, request_text)
Handle a single XML-RPC request
 
handle_get(self)
Handle a single HTTP GET request.
 
handle_request(self, request_text=None)
Handle a single XML-RPC request passed through a CGI post method.

Inherited from SimpleXMLRPCDispatcher: register_function, register_instance, register_introspection_functions, register_multicall_functions, system_listMethods, system_methodHelp, system_methodSignature, system_multicall

Method Details [hide private]

__init__(self, allow_none=False, encoding=None)
(Constructor)

 
Overrides: SimpleXMLRPCDispatcher.__init__

handle_get(self)

 

Handle a single HTTP GET request.

Default implementation indicates an error because XML-RPC uses the POST method.

handle_request(self, request_text=None)

 

Handle a single XML-RPC request passed through a CGI post method.

If no XML data is given then it is read from stdin. The resulting XML-RPC response is printed to stdout along with the correct HTTP headers.