-
Notifications
You must be signed in to change notification settings - Fork 981
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
no_proxy does not work when using Faraday.get #701
Comments
Hi @JasonBarnabe, when you call Faraday.get without first initialising the connection, a Faraday::Connection with no url is created to perform the request. This causes the However your code can be simplified a bit: Faraday.new('http://localhost:8983').get('/select?wt=json&q=*%3A*').status |
@JasonBarnabe I'm sorry this was a bit later than expected, but I think I finally got on top of the issue and nicely refactored the environment proxy management to work efficiently in all cases. |
In this test, 404 is the expected response. 503 is the response from the proxy.
The text was updated successfully, but these errors were encountered: