async-http-faraday
async-http-faraday copied to clipboard
I've been trying to use async-http-faraday and I'm struggling to get it to work, even with the simplest request I can think of: a GET request to example.com. I made...
When a faraday client is cached in a global or module/class-level singleton variable such that the same client instance may be used across multiple threads, then a concurrent request between...
This PR wraps the `'can get remote resource'` spec in VCR cassette, so that no external dependencies are needed to run the specs. One issue though is that the VCR...
To e.g. downstream a file in falcon it would be cool if the adapter would support on_data callbacks. See https://lostisland.github.io/faraday/usage/streaming
https://lostisland.github.io/faraday/#/adapters/custom/streaming This feature of Faraday was introduced at some point, but this gem does not pin to a any specific Faraday version. Perhaps this adapter could sniff whether the streaming...
Closes #51 This makes the adapter ignore `Content-Length` if given in Faraday's `env.request_headers`, but only if capitalized, since `Async::HTTP` will set `content-length` anyway. I'd like to add tests too, but...
Minimal reproduction (requires a webserver running on localhost:9292): ```ruby require "rubygems" require "bundler/inline" gemfile do source "https://rubygems.org" gem "async-http-faraday", require: false end require "faraday" require "async/http/faraday" Faraday.default_adapter = :async_http conn...