Cleanup reply delete
This commit is contained in:
parent
84a6d0c498
commit
d5f25e37cf
4 changed files with 15 additions and 22 deletions
10
app.py
10
app.py
|
@ -258,7 +258,15 @@ def proxy(scheme: str, url: str) -> Any:
|
|||
k: v
|
||||
for k, v in dict(resp.raw.headers).items()
|
||||
if k.lower()
|
||||
in ["content-type", "etag", "cache-control", "expires", "date", "last-modified"]
|
||||
in [
|
||||
"content-length",
|
||||
"content-type",
|
||||
"etag",
|
||||
"cache-control",
|
||||
"expires",
|
||||
"date",
|
||||
"last-modified",
|
||||
]
|
||||
}
|
||||
return Response(data(), headers=resp_headers)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue