rainbows.git  about / heads / tags
Unicorn for sleepy apps and slow clients
blob 14c7a441ea73f3cd0f7b57d579986191b3fcb683 436 bytes (raw)
$ git show HEAD: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
 
# -*- encoding: binary -*-
# :enddoc:
module Rainbows::Const
end
require 'rainbows/version'
module Rainbows::Const
  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,
  })
end

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