load proxy plugin if system proxy detected

This commit is contained in:
HoneyryderChuck 2018-07-04 18:03:16 +01:00
parent 3b416fe271
commit cd876773ec

View File

@ -165,5 +165,7 @@ module HTTPX
self
end
end
plugin(:proxy) unless ENV.grep(/https?_proxy$/i).empty?
end
end