cherrypy.lib.xmlrpcutil module

XML-RPC tool helpers.

cherrypy.lib.xmlrpcutil._set_response(body)[source]

Set up HTTP status, headers and body within CherryPy.

cherrypy.lib.xmlrpcutil.on_error(*args, **kwargs)[source]

Construct HTTP response body for an error response.

cherrypy.lib.xmlrpcutil.patched_path(path)[source]

Return ‘path’, doctored for RPC.

cherrypy.lib.xmlrpcutil.process_body()[source]

Return (params, method) from request body.

cherrypy.lib.xmlrpcutil.respond(body, encoding='utf-8', allow_none=0)[source]

Construct HTTP response body.