Skip to content

Commit

Permalink
Respect https_proxy and no_proxy fix #49
Browse files Browse the repository at this point in the history
  • Loading branch information
joekiller committed Dec 14, 2015
1 parent 7518d31 commit 0405b98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/s3_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ def self.verify_md5_checksum(checksum, file)
def self.client
require 'rest-client'
RestClient.proxy = ENV['http_proxy']
RestClient.proxy = ENV['https_proxy']
RestClient.proxy = ENV['no_proxy']
RestClient
end
end

0 comments on commit 0405b98

Please sign in to comment.