diff --git a/proxy_scraper_checker/http.py b/proxy_scraper_checker/http.py index 760a087..22f0a18 100644 --- a/proxy_scraper_checker/http.py +++ b/proxy_scraper_checker/http.py @@ -21,6 +21,7 @@ HEADERS: MappingProxyType[str, str] = MappingProxyType({ ) }) SSL_CONTEXT = ssl.create_default_context(cafile=certifi.where()) +SSL_CONTEXT.set_alpn_protocols(("http/1.1",)) class NoCharsetHeaderError(Exception):