1 # -*- encoding: binary -*-
6 RAINBOWS_VERSION = '0.2.0'
10 RACK_DEFAULTS = ::Unicorn::HttpRequest::DEFAULTS.merge({
11 "SERVER_SOFTWARE" => "Rainbows! #{RAINBOWS_VERSION}",
13 # using the Rev model, we'll automatically chunk pipe and socket objects
14 # if they're the response body
15 'rainbows.autochunk' => false,
18 CONN_CLOSE = "Connection: close\r\n"
19 CONN_ALIVE = "Connection: keep-alive\r\n"
20 LOCALHOST = "127.0.0.1"