(self, request_text)
Handle a single XML-RPC request
Handle a single XML-RPC request
Handle a single XML - RPC request
def handle_xmlrpc(self, request_text):
        """Handle a single XML-RPC request"""

        response = self._marshaled_dispatch(request_text)

        print('Content-Type: text/xml')
        print('Content-Length: %d' % len(response))
        print()
        sys.stdout.flush()
        sys.stdout.buffer.write(response)
        sys.stdout.buffer.flush()
def handle_xmlrpc ( self , request_text ) : response = self . _marshaled_dispatch ( request_text ) print ( 'Content-Type: text/xml' ) print ( 'Content-Length: %d' % len ( response ) ) print ( ) sys . stdout . flush ( ) sys . stdout . buffer . write ( response ) sys . stdout . buffer . flush ( )