fix: headers issue

This commit is contained in:
Timothy J. Baek 2023-12-26 13:43:32 -08:00
parent 0ae57b5ae1
commit 8f2b691ee0

View file

@ -61,10 +61,10 @@ def proxy(path):
r = None
del headers["Host"]
del headers["Authorization"]
del headers["Origin"]
del headers["Referer"]
headers.pop("Host", None)
headers.pop("Authorization", None)
headers.pop("Origin", None)
headers.pop("Referer", None)
print(headers)