Sunrusojsis commited on
Commit
e1b229d
·
verified ·
1 Parent(s): 0c71955

Ssl ignored

Browse files
Files changed (1) hide show
  1. main.py +2 -1
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()