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)
def send(url, method, raw): data = binascii.unhexlify(raw) return send_req(url, method, data)