Skip to content
New issue

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

Upgrade to Faraday 2 #366

Open
olleolleolle opened this issue Sep 27, 2023 · 0 comments
Open

Upgrade to Faraday 2 #366

olleolleolle opened this issue Sep 27, 2023 · 0 comments

Comments

@olleolleolle
Copy link
Member

olleolleolle commented Sep 27, 2023

The http client uses not much in terms of middlware, and the default adapter. It uses the ancient form of basic_auth, but that can be changed (see the upgrade notes in Faraday's repo).

You can find the code here:

client = Faraday.new(upstream.to_s) do |config|

Faraday's also mentioned in the tests, so you can run some specs, and perhaps modify them, if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant