Amélioration de la recherche par adresse #10

Open
felix.baylac wants to merge 3 commits from nin/redo-front into master
Showing only changes of commit ac61343ad4 - Show all commits

View file

@ -71,8 +71,14 @@ def query_axione(cfg, body):
timeout=120, timeout=120,
) )
conn.request("POST", "/v3/fai", body, headers=headers) conn.request("POST", "/v3/fai", body, headers=headers)
print("")
print("[+] REQUEST")
print(body)
response = conn.getresponse() response = conn.getresponse()
respData = response.read() respData = response.read()
print("")
print("[+] RESPONSE")
print(respData)
except Exception as e: except Exception as e:
print("Error while querying Axione: ", file=sys.stderr) print("Error while querying Axione: ", file=sys.stderr)
print(str(e), file=sys.stderr) print(str(e), file=sys.stderr)