about summary refs log tree commit homepage
path: root/lib/rainbows/rev/client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/rev/client.rb')
-rw-r--r--lib/rainbows/rev/client.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rainbows/rev/client.rb b/lib/rainbows/rev/client.rb
index ba1a6c8..bc3785f 100644
--- a/lib/rainbows/rev/client.rb
+++ b/lib/rainbows/rev/client.rb
@@ -83,8 +83,6 @@ module Rainbows
 
           if st.file?
             if headers
-              headers.delete('Transfer-Encoding')
-              headers['Content-Length'] ||= st.size.to_s
               headers[CONNECTION] = alive ? KEEP_ALIVE : CLOSE
               write(response_header(status, headers))
             end