Skip to content

Commit

Permalink
only allow http/1.1 in ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
monosans authored Feb 5, 2025
1 parent c39597f commit b651757
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions proxy_scraper_checker/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
)
})
SSL_CONTEXT = ssl.create_default_context(cafile=certifi.where())
SSL_CONTEXT.set_alpn_protocols(("http/1.1",))


class NoCharsetHeaderError(Exception):
Expand Down

0 comments on commit b651757

Please sign in to comment.