Alexey Zapparov

Results 43 issues of Alexey Zapparov

Right now one is forced to manually specify Accept-Encoding header: ``` ruby HTTP.headers(:accept_encoding => "gzip,deflate").use(:auto_inflate) ``` Will be awesome if it will be possible to do simply: ``` ruby HTTP.use(:auto_inflate,...

First of all logging works badly on redirects: ``` ruby HTTP.use(:logging => { :logger => logger }).follow.get("http://www.sensortower.com") ``` Prints out: ``` I, [2018-10-24T10:50:00.444268 #20827] INFO -- : > GET http://www.sensortower.com/...

Existing implementation has couple of issues: - dependency on rack-cache - restored response loses `uri`

Improvement

Right now HTTP::Options looks really terrible.

Improvement

Sometimes I need to make a `GET` request, and terminate connection before receiving body, so I end up with having something like: ``` ruby def get_cookies(...) http = HTTP.headers(...) http.get(...).cookies...

Feature

Right now some of the methods are returning unexpected results: ``` ruby HTTP::URI.new("https://example.com").join("/foo") ``` I expect the above to result in a `HTTP::URI` instance, but it returns `Addresable::URI`. That came...

As of #468 pipes will cause failure: ``` ruby reader, writer = IO.pipe writer.puts "abc" writer.close HTTP.post(url, :body => reader) ``` That is because `reader` is an IO that supports...

It might be the design choice, so feel free to close the issue, but IMO rounded square background makes it look a bit off. --- ![image](https://user-images.githubusercontent.com/94782/197839321-1a6d5e39-f7ce-4942-aa69-c571ca08ca15.png) --- I'd expect it...