Spaces:
Sleeping
Sleeping
update
Browse files- proxyserver-fastapi.py +1 -1
proxyserver-fastapi.py
CHANGED
|
@@ -91,7 +91,7 @@ async def proxy_request(url_path: str, request: Request):
|
|
| 91 |
pretty_json = json.dumps(headers, indent=4, sort_keys=True, ensure_ascii=False)
|
| 92 |
print(pretty_json)
|
| 93 |
|
| 94 |
-
headers=
|
| 95 |
headers["accept"]="*/*"
|
| 96 |
headers["accept-encoding"]="gzip, deflate, br"
|
| 97 |
headers["authorization"]=f"Bearer {third_party_api_key}"
|
|
|
|
| 91 |
pretty_json = json.dumps(headers, indent=4, sort_keys=True, ensure_ascii=False)
|
| 92 |
print(pretty_json)
|
| 93 |
|
| 94 |
+
headers={}
|
| 95 |
headers["accept"]="*/*"
|
| 96 |
headers["accept-encoding"]="gzip, deflate, br"
|
| 97 |
headers["authorization"]=f"Bearer {third_party_api_key}"
|