We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe4ec2a commit 7faf8a0Copy full SHA for 7faf8a0
activestorage/app/controllers/concerns/active_storage/streaming.rb
@@ -10,7 +10,7 @@ module ActiveStorage::Streaming
10
11
private
12
# Stream the blob in byte ranges specified through the header
13
- def send_blob_byte_range_data(blob, range_header, disposition: nil) #:doc:
+ def send_blob_byte_range_data(blob, range_header, disposition: nil)
14
ranges = Rack::Utils.get_byte_ranges(range_header, blob.byte_size)
15
16
return head(:range_not_satisfiable) if ranges.blank? || ranges.all?(&:blank?)
0 commit comments