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
|
||||
|
||||
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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue