def __init__(self, xml, uri, method='POST', headers=Headers()): ''' :param xml: The original XML string that represents the call to the RPC. ''' HTTPPostDataRequest.__init__(self, uri) self._xml = xml
def __init__(self, url, action, params, ns, meth_name, headers=Headers()): HTTPPostDataRequest.__init__(self, url, headers=headers) self._action = action self._NS = ns self._name = meth_name self.set_parameters(params)