Rainbows! 4.3.0 - pull in changes from unicorn 4.1.0
[rainbows.git] / lib / rainbows / const.rb
bloba87d76a9e2a84898dd7e31c3d84aed400a2eaccd
1 # -*- encoding: binary -*-
2 # :enddoc:
3 module Rainbows::Const
5   RAINBOWS_VERSION = '4.3.0'
7   include Unicorn::Const
9   RACK_DEFAULTS = Unicorn::HttpRequest::DEFAULTS.update({
10     "SERVER_SOFTWARE" => "Rainbows! #{RAINBOWS_VERSION}",
12     # using the Rev model, we'll automatically chunk pipe and socket objects
13     # if they're the response body.  Unset by default.
14     # "rainbows.autochunk" => false,
15   })
17   RACK_INPUT = Unicorn::HttpRequest::RACK_INPUT
18   REMOTE_ADDR = Unicorn::HttpRequest::REMOTE_ADDR
19 end