tests: somehow using 'Domain' as http header aint supported anymore, gotta use Host

This commit is contained in:
Alexandre Aubin 2023-05-16 15:21:27 +02:00
parent 5b9721eb23
commit 3b75485923

View file

@ -39,7 +39,7 @@ def check_changeurl_app(path):
assert appmap[maindomain][path]["id"] == "change_url_app"
r = requests.get(
"https://127.0.0.1%s/" % path, headers={"domain": maindomain}, verify=False
"https://127.0.0.1%s/" % path, headers={"Host": maindomain}, verify=False
)
assert r.status_code == 200