toland / patron

Ruby HTTP client based on libcurl
http://toland.github.com/patron/
MIT License
541 stars 74 forks source link

--http1.1 option please #182

Closed apsheronets closed 3 years ago

apsheronets commented 3 years ago

Looks like I found a server with a broken http2:

curl -v 'https://millattimes.com/feed' -H 'If-Modified-Since: Wed, 30 Dec 2020 18:35:32 GMT'

And I have no idea how to override this using the gem.

apsheronets commented 3 years ago

Oh wow, I just found Patron::Session#http_version