about summary refs log tree commit homepage
path: root/lib/rainbows/dev_fd_response.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/dev_fd_response.rb')
-rw-r--r--lib/rainbows/dev_fd_response.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/dev_fd_response.rb b/lib/rainbows/dev_fd_response.rb
index 17081e3..1d50a2c 100644
--- a/lib/rainbows/dev_fd_response.rb
+++ b/lib/rainbows/dev_fd_response.rb
@@ -51,7 +51,7 @@ class Rainbows::DevFdResponse < Struct.new(:app)
         if env['rainbows.autochunk']
           headers['Transfer-Encoding'] = 'chunked'
         else
-          headers['X-Rainbows-Autochunk'] = 'no'
+          env['rainbows.autochunk'] = false
         end
       end