forked from open-webui/open-webui
fix: headers issue
This commit is contained in:
parent
0ae57b5ae1
commit
8f2b691ee0
1 changed files with 4 additions and 4 deletions
|
@ -61,10 +61,10 @@ def proxy(path):
|
||||||
|
|
||||||
r = None
|
r = None
|
||||||
|
|
||||||
del headers["Host"]
|
headers.pop("Host", None)
|
||||||
del headers["Authorization"]
|
headers.pop("Authorization", None)
|
||||||
del headers["Origin"]
|
headers.pop("Origin", None)
|
||||||
del headers["Referer"]
|
headers.pop("Referer", None)
|
||||||
|
|
||||||
print(headers)
|
print(headers)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue