From 9208a52220b51cc747f45f11ccfa1cf0de29e8d7 Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Tue, 20 Feb 2018 14:45:54 -0500 Subject: Correct Range header syntax --- activestorage/app/models/active_storage/identification.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activestorage/app/models') diff --git a/activestorage/app/models/active_storage/identification.rb b/activestorage/app/models/active_storage/identification.rb index bf1d8f5624..d4d68fce8d 100644 --- a/activestorage/app/models/active_storage/identification.rb +++ b/activestorage/app/models/active_storage/identification.rb @@ -21,7 +21,7 @@ class ActiveStorage::Identification def identifiable_chunk Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |client| - client.get(uri, "Range" => "0-4096").body + client.get(uri, "Range" => "bytes=0-4095").body end end -- cgit v1.2.3