예제 #1
0
 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
예제 #2
0
 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)
예제 #3
0
 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
예제 #4
0
 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)