Spaces:
Sleeping
Sleeping
Sunrusojsis
commited on
Ssl ignored
Browse files
main.py
CHANGED
@@ -44,7 +44,8 @@ async def proxy(request: Request, url: str):
|
|
44 |
url=target_url,
|
45 |
headers=headers,
|
46 |
data=body,
|
47 |
-
allow_redirects=False
|
|
|
48 |
) as upstream_response:
|
49 |
# Prepare the response headers, excluding some that might cause issues
|
50 |
response_headers = {k: v for k, v in upstream_response.headers.items()
|
|
|
44 |
url=target_url,
|
45 |
headers=headers,
|
46 |
data=body,
|
47 |
+
allow_redirects=False,
|
48 |
+
ssl=False
|
49 |
) as upstream_response:
|
50 |
# Prepare the response headers, excluding some that might cause issues
|
51 |
response_headers = {k: v for k, v in upstream_response.headers.items()
|