You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is due to the underlying implementation of Net::HTTP, but httparty should check for those environment variables in HTTParty::ConnectionAdapter.connection
The text was updated successfully, but these errors were encountered:
I know nothing about this type of stuff, so without a pull request + tests, there is not much I can do. Thanks for letting us know though. If you get a chance, I'd love to see some code.
You can set these options on each query: options[:http_proxyaddr], options[:http_proxyport], options[:http_proxyuser], options[:http_proxypass]
Is the request that those options should be automatically set from certain well-known environment variables? If so, which ones, and is that documented practice somewhere?
Apologies for not updating this thread. @sodabrew yes, the request is that these are auto-populated from http_proxy and https_proxy (these are well known and used by curl and wget, among others).
However, I looked at this upstream and this is fixed in Ruby 2.0 in Net::HTTP. My request to have it backported to 1.9 was rejected because it was deemed a new feature.
This is due to the underlying implementation of Net::HTTP, but httparty should check for those environment variables in HTTParty::ConnectionAdapter.connection
The text was updated successfully, but these errors were encountered: