Skip to content

Commit

Permalink
[ci skip] Undocument send_blob_byte_range_data, don't commit to a pub…
Browse files Browse the repository at this point in the history
…lic API just yet
  • Loading branch information
kaspth committed Aug 16, 2021
1 parent fe4ec2a commit 7faf8a0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -10,7 +10,7 @@ module ActiveStorage::Streaming

private
# Stream the blob in byte ranges specified through the header
def send_blob_byte_range_data(blob, range_header, disposition: nil) #:doc:
def send_blob_byte_range_data(blob, range_header, disposition: nil)
ranges = Rack::Utils.get_byte_ranges(range_header, blob.byte_size)

return head(:range_not_satisfiable) if ranges.blank? || ranges.all?(&:blank?)
Expand Down

0 comments on commit 7faf8a0

Please sign in to comment.