MCPcopy Index your code
hub / github.com/python/cpython / SimpleXMLRPCServer

Class SimpleXMLRPCServer

Lib/xmlrpc/server.py:569–595  ·  view source on GitHub ↗

Simple XML-RPC server. Simple XML-RPC server that allows functions and a single instance to be installed to handle requests. The default implementation attempts to dispatch XML-RPC calls to the functions or instance installed in the server. Override the _dispatch method inherited

Source from the content-addressed store, hash-verified

567 BaseHTTPRequestHandler.log_request(self, code, size)
568
569class SimpleXMLRPCServer(socketserver.TCPServer,
570 SimpleXMLRPCDispatcher):
571 """Simple XML-RPC server.
572
573 Simple XML-RPC server that allows functions and a single instance
574 to be installed to handle requests. The default implementation
575 attempts to dispatch XML-RPC calls to the functions or instance
576 installed in the server. Override the _dispatch method inherited
577 from SimpleXMLRPCDispatcher to change this behavior.
578 """
579
580 allow_reuse_address = True
581 allow_reuse_port = False
582
583 # Warning: this is for debugging purposes only! Never set this to True in
584 # production code, as will be sending out sensitive information (exception
585 # and stack trace details) when exceptions are raised inside
586 # SimpleXMLRPCRequestHandler.do_POST
587 _send_traceback_header = False
588
589 def __init__(self, addr, requestHandler=SimpleXMLRPCRequestHandler,
590 logRequests=True, allow_none=False, encoding=None,
591 bind_and_activate=True, use_builtin_types=False):
592 self.logRequests = logRequests
593
594 SimpleXMLRPCDispatcher.__init__(self, allow_none, encoding, use_builtin_types)
595 socketserver.TCPServer.__init__(self, addr, requestHandler, bind_and_activate)
596
597
598class MultiPathXMLRPCServer(SimpleXMLRPCServer):

Callers 1

server.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…