rainbows.git  about / heads / tags
Unicorn for sleepy apps and slow clients
blob 23b1d522525f01fc9f1369b0c4d0def78f032014 512 bytes (raw)
$ git show v4.0.0:lib/rainbows/const.rb	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
 
# -*- encoding: binary -*-
# :enddoc:
module Rainbows::Const

  RAINBOWS_VERSION = '4.0.0'

  include Unicorn::Const

  RACK_DEFAULTS = Unicorn::HttpRequest::DEFAULTS.update({
    "SERVER_SOFTWARE" => "Rainbows! #{RAINBOWS_VERSION}",

    # using the Rev model, we'll automatically chunk pipe and socket objects
    # if they're the response body.  Unset by default.
    # "rainbows.autochunk" => false,
  })

  RACK_INPUT = Unicorn::HttpRequest::RACK_INPUT
  REMOTE_ADDR = Unicorn::HttpRequest::REMOTE_ADDR
end

git clone https://yhbt.net/rainbows.git