Handle a single XML-RPC request
(self, request_text)
| 641 | SimpleXMLRPCDispatcher.__init__(self, allow_none, encoding, use_builtin_types) |
| 642 | |
| 643 | def handle_xmlrpc(self, request_text): |
| 644 | """Handle a single XML-RPC request""" |
| 645 | |
| 646 | response = self._marshaled_dispatch(request_text) |
| 647 | |
| 648 | print('Content-Type: text/xml') |
| 649 | print('Content-Length: %d' % len(response)) |
| 650 | print() |
| 651 | sys.stdout.flush() |
| 652 | sys.stdout.buffer.write(response) |
| 653 | sys.stdout.buffer.flush() |
| 654 | |
| 655 | def handle_get(self): |
| 656 | """Handle a single HTTP GET request. |
no test coverage detected