diff --git a/lib/fog/storage/requests/aws/get_object.rb b/lib/fog/storage/requests/aws/get_object.rb index 3d87e973a..7452a54e0 100644 --- a/lib/fog/storage/requests/aws/get_object.rb +++ b/lib/fog/storage/requests/aws/get_object.rb @@ -43,7 +43,7 @@ module Fog headers['If-Unmodified-Since'] = Fog::Time.at(options['If-Unmodified-Since'].to_i).to_date_header if options['If-Modified-Since'] headers.merge!(options) request({ - :expects => headers.include?('Range') ? [ 200, 206 ] : 200, + :expects => [ 200, 206 ], :headers => headers, :host => "#{bucket_name}.#{@host}", :idempotent => true,