XML-RPC and HTML documentation server. Adds the ability to serve server documentation to the capabilities of SimpleXMLRPCServer.
| 936 | self.wfile.write(response) |
| 937 | |
| 938 | class DocXMLRPCServer( SimpleXMLRPCServer, |
| 939 | XMLRPCDocGenerator): |
| 940 | """XML-RPC and HTML documentation server. |
| 941 | |
| 942 | Adds the ability to serve server documentation to the capabilities |
| 943 | of SimpleXMLRPCServer. |
| 944 | """ |
| 945 | |
| 946 | def __init__(self, addr, requestHandler=DocXMLRPCRequestHandler, |
| 947 | logRequests=True, allow_none=False, encoding=None, |
| 948 | bind_and_activate=True, use_builtin_types=False): |
| 949 | SimpleXMLRPCServer.__init__(self, addr, requestHandler, logRequests, |
| 950 | allow_none, encoding, bind_and_activate, |
| 951 | use_builtin_types) |
| 952 | XMLRPCDocGenerator.__init__(self) |
| 953 | |
| 954 | class DocCGIXMLRPCRequestHandler( CGIXMLRPCRequestHandler, |
| 955 | XMLRPCDocGenerator): |
no outgoing calls
searching dependent graphs…