Esempio n. 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)
Esempio n. 2
0
File: raw.py Progetto: dt/hfiletools
def send(url, method, raw):
  data = binascii.unhexlify(raw)
  return send_req(url, method, data)