diff --git a/app.py b/app.py index 7411b65..5b7868c 100644 --- a/app.py +++ b/app.py @@ -289,7 +289,7 @@ def proxy(scheme: str, url: str) -> Any: if k.lower() not in ["host", "cookie", "", "x-forwarded-for", "x-real-ip"] and not k.lower().startswith("broxy-") } - req_headers["Host"] = urlparse(url).netloc + # req_headers["Host"] = urlparse(url).netloc resp = requests.get(url, stream=True, headers=req_headers) app.logger.info(f"proxied req {url} {req_headers}: {resp!r}")