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.
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:
gemstash/lib/gemstash/http_client.rb
Line 33 in df64b12
Faraday's also mentioned in the tests, so you can run some specs, and perhaps modify them, if needed.