http
http copied to clipboard
HTTP (The Gem! a.k.a. http.rb) - a fast Ruby HTTP client with a chainable API, streaming support, and timeouts
Based on the great initial POC of @ixti this should complete #595 * Delay by default backs backs off over time * Maximum delay time * Exceptions to retry from...
I only recently started using this gem, and the documentation on how to handle request timeouts isn't very clear. I'm happy to update the wiki but I wanted to make...
When WebMock used (particulary VCR), first, not yet, recorded request fails with: ``` HTTP::StateError: body has already been consumed ```
There is no `default_port` for the `ws` and `wss` schemes. If the port is omitted, it works with `HTTP::URI.parse` but not when making requests: ``` irb(main):001:0> HTTP.get("ws://example") Traceback (most recent...
We are sending a request to a server that is sending incomplete response headers (i.e. last line of headers does not contain a `:`). ``` HTTP/1.1 200 OK Access-Control-Allow-Origin: *...
Hi I noticed when updating the gem to 5.0 causes a LocalJumpError when I run my rspec tests. (I have not been able to test it yet while running the...
Hi, thanks for the great project. I'm working with an API that requires multiple files to be uploaded such that the file metadata is followed by the file stream, repeating,...
See issue #593 and #592 , this issue is still present in the 5.0 release This code should be in the 5.0 release (from the release notes), but it's missing:...
Brotli is becoming more common on servers thanks to its debatable better performance over gzip. It's accessible same way as gzip via `HTTP.headers("Accept-Encoding" => "gzip, deflate, br")`. Unfortunately, http.rb doesn't...
I have an S3 path that has a "+" in it, so it's encoded URI ends up with a "%2B" in it. Specifically, the S3 key is "A+B.txt", so the...