mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 08:07:55 +00:00
fix: headers issue
This commit is contained in:
parent
0ae57b5ae1
commit
8f2b691ee0
@ -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 New Issue
Block a user