LEFT | RIGHT |
1 """Self documenting XML-RPC Server. | 1 """Self documenting XML-RPC Server. |
2 | 2 |
3 This module can be used to create XML-RPC servers that | 3 This module can be used to create XML-RPC servers that |
4 serve pydoc-style documentation in response to HTTP | 4 serve pydoc-style documentation in response to HTTP |
5 GET requests. This documentation is dynamically generated | 5 GET requests. This documentation is dynamically generated |
6 based on the functions and methods registered with the | 6 based on the functions and methods registered with the |
7 server. | 7 server. |
8 | 8 |
9 This module is built upon the pydoc and SimpleXMLRPCServer | 9 This module is built upon the pydoc and SimpleXMLRPCServer |
10 modules. | 10 modules. |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 response = self.generate_html_documentation() | 270 response = self.generate_html_documentation() |
271 | 271 |
272 print 'Content-Type: text/html' | 272 print 'Content-Type: text/html' |
273 print 'Content-Length: %d' % len(response) | 273 print 'Content-Length: %d' % len(response) |
274 print | 274 print |
275 sys.stdout.write(response) | 275 sys.stdout.write(response) |
276 | 276 |
277 def __init__(self): | 277 def __init__(self): |
278 CGIXMLRPCRequestHandler.__init__(self) | 278 CGIXMLRPCRequestHandler.__init__(self) |
279 XMLRPCDocGenerator.__init__(self) | 279 XMLRPCDocGenerator.__init__(self) |
LEFT | RIGHT |