@ -87,6 +87,9 @@ def get_proxy_url(proxy, current, path):
return presp.text
def upstream_type(current, proxy):
if proxy is None:
resp = requests.head(current)
else:
resp = requests.head(current, proxies=proxy.req)
return resp.headers.get("Content-Type", "binary/octet-stream")
The note is not visible to the blocked user.