def scgi_request(url, methodname, *params, **kw):
xmlreq = xmlrpclib.dumps(params, methodname)<EOL>xmlresp = SCGIRequest(url).send(xmlreq)<EOL>if kw.get("<STR_LIT>", True):<EOL><INDENT>xmlresp = xmlresp.replace("<STR_LIT>", "<STR_LIT>").replace("<STR_LIT>", "<STR_LIT>")<EOL>return xmlrpclib.loads(xmlresp)[<NUM_LIT:0>][<NUM_LIT:0>]<EOL><DEDENT>else:<EOL><INDENT>return xmlresp<EOL><DEDENT>
Send a XMLRPC request over SCGI to the given URL.

        @param url: Endpoint URL.
        @param methodname: XMLRPC method name.
        @param params: Tuple of simple python objects.
        @keyword deserialize: Parse XML result? (default is True)
        @return: XMLRPC response, or the equivalent Python data.