Beispiel #1
0
def send(url, method, hfile, keys):
  keys = [binascii.unhexlify(i) for i in keys]
  req = SingleHFileKeyRequest(hfileName=hfile, sortedKeys=keys)
  data = req_data(method, req)
  return send_req(url, method, data)
Beispiel #2
0
def send(url, method, raw):
  data = binascii.unhexlify(raw)
  return send_req(url, method, data)