Alexey Zapparov

Results 309 comments of Alexey Zapparov

Please, check out https://github.com/httprb/http/wiki/Timeouts We have a bit too strict default values #579 right now, which we will bump up in next major release

@tarcieri Might be. @kapso Which heroku build-pack are you using? I want to try to reproduce it.

@kapso Please provide Gemfile.lock (don't forget to filter out any sensitive info).

Thank you. I will take a look as soon as possible.

Sorry, got really busy days lately and was not able to reproduce the error so far, so yeah, any help in reproducing it or analysing why it fails - will...

Right now `#cookies` passing is somewhat weird (IMO): ``` ruby def cookie_header(response) response.parse(:json).dig("headers", "Cookie") end http = HTTP.cookies(:a => 1, :b => 2).cookies(:a => 3) cookie_header http.get("https://httpbin.org/headers") # => "a=3;...

Yes. Full cookie management belongs to session class. Here we should make it straight forward and simple to just pass cookies in and out.

there's helper for that too: ``` ruby client = HTTP.accept('application/blah') ret1 = client.get("https://google.com").flush ret2 = client.get("https://github.com").flush ret1.to_s[0..42] # => "

It will be (probably) a breaking change. And yeah, I guess it will make it easier to shoot the foot for one. But in general I think it's pretty doable...