diff options
Diffstat (limited to 'lib/rainbows/const.rb')
-rw-r--r-- | lib/rainbows/const.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rainbows/const.rb b/lib/rainbows/const.rb index 417a5de..403a18a 100644 --- a/lib/rainbows/const.rb +++ b/lib/rainbows/const.rb @@ -9,6 +9,10 @@ module Rainbows RACK_DEFAULTS = ::Unicorn::HttpRequest::DEFAULTS.merge({ "SERVER_SOFTWARE" => "Rainbows! #{RAINBOWS_VERSION}", + + # using the Rev model, we'll automatically chunk pipe and socket objects + # if they're the response body + 'rainbows.autochunk' => false, }) CONN_CLOSE = "Connection: close\r\n" |