We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think hyperclient should by default follow redirects, which means adding to
hyperclient/lib/hyperclient/entry_point.rb
Line 47 in ff3e85c
faraday.use FaradayMiddleware::FollowRedirects
Currently monkey-patching
require 'hyperclient/entry_point' module Hyperclient class EntryPoint < Link def default_faraday_block lambda do |faraday| faraday.use FaradayMiddleware::FollowRedirects faraday.request :json faraday.response :json, content_type: /\bjson$/ faraday.adapter :net_http end end end end
Thoughts?
The text was updated successfully, but these errors were encountered:
I don't see why not, can you submit a PR?
Sorry, something went wrong.
Bump @oriolgual .
f4f1ba9
Merge pull request #60 from dblock/follow-redirects
ee215c0
Follow redirects, fixes #58.
No branches or pull requests
I think hyperclient should by default follow redirects, which means adding to
hyperclient/lib/hyperclient/entry_point.rb
Line 47 in ff3e85c
Currently monkey-patching
Thoughts?
The text was updated successfully, but these errors were encountered: