def XMLRPCDispatcher(next_dispatcher=Dispatcher()):
    """Chain an HTTP dispatcher variant implementing XML-RPC."""
    from cherrypy.lib import xmlrpcutil

    def xmlrpc_dispatch(path_info):
        path_info = xmlrpcutil.patched_path(path_info)
        return next_dispatcher(path_info)

    return xmlrpc_dispatch
Chain an HTTP dispatcher variant implementing XML-RPC.
cherrypy/_cpdispatch.py