about summary refs log tree commit homepage
path: root/lib/rainbows/response/range.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/response/range.rb')
-rw-r--r--lib/rainbows/response/range.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/response/range.rb b/lib/rainbows/response/range.rb
index 5d8f01e..b383587 100644
--- a/lib/rainbows/response/range.rb
+++ b/lib/rainbows/response/range.rb
@@ -27,7 +27,7 @@ module Rainbows::Response::Range
       count = clen if count > clen
       headers[Content_Length] = count.to_s
       headers[Content_Range] = "bytes #{offset}-#{offset+count-1}/#{clen}"
-      [ status, offset, count ]
+      [ 206, offset, count ]
     end
     # nil if no status
   end