about summary refs log tree commit homepage
path: root/lib/rainbows/response.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/response.rb')
-rw-r--r--lib/rainbows/response.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rainbows/response.rb b/lib/rainbows/response.rb
index c0d0740..705de62 100644
--- a/lib/rainbows/response.rb
+++ b/lib/rainbows/response.rb
@@ -140,6 +140,8 @@ module Rainbows::Response
       end
 
       if 0 > count || offset >= size
+        headers[Content_Length] = "0"
+        headers[Content_Range] = "bytes */#{clen}"
         return 416, headers, nil
       else
         count = size if count > size