lib/deputy.rb in deputy-0.1.36 vs lib/deputy.rb in deputy-0.1.37

- old
+ new

@@ -124,10 +124,10 @@ url = "#{sheriff_url}#{path}" url = url.sub(%r{//(.*?):(.*?)@}, '//') auth = [$1, $2].compact options[:http_basic_authentication] = auth if auth.size == 2 - options[:remote_host] = hostname + options['REMOTE_HOST'] = hostname Timeout.timeout(config['timeout']||10) do open(url, options).read end rescue => e \ No newline at end of file