diff options
Diffstat (limited to 'lib/rainbows/response/range.rb')
-rw-r--r-- | lib/rainbows/response/range.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/response/range.rb b/lib/rainbows/response/range.rb index 4c0d4a1..5d8f01e 100644 --- a/lib/rainbows/response/range.rb +++ b/lib/rainbows/response/range.rb @@ -7,7 +7,7 @@ module Rainbows::Response::Range # This does not support multipart responses (does anybody actually # use those?) +headers+ is always a Rack::Utils::HeaderHash - def parse_range(env, status, headers) + def make_range!(env, status, headers) if 200 == status.to_i && (clen = headers[Content_Length]) && /\Abytes=(\d+-\d*|\d*-\d+)\z/ =~ env[HTTP_RANGE] |