summaryrefslogtreecommitdiff
path: root/lib/soap/wsdlDriver.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/soap/wsdlDriver.rb')
-rw-r--r--lib/soap/wsdlDriver.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/soap/wsdlDriver.rb b/lib/soap/wsdlDriver.rb
index 849effcb0b..6ecc4b4f6e 100644
--- a/lib/soap/wsdlDriver.rb
+++ b/lib/soap/wsdlDriver.rb
@@ -223,7 +223,8 @@ class WSDLDriver
@endpoint_url = nil
@wiredump_dev = nil
@wiredump_file_base = nil
- @httpproxy = ENV['http_proxy'] || ENV['HTTP_PROXY']
+ name = 'http_proxy'
+ @httpproxy = ENV[name] || ENV[name.upcase]
@wsdl_elements = @wsdl.collect_elements
@wsdl_types = @wsdl.collect_complextypes