Sha256: 71b037c8cda44792fedda3794850eb2a3a907058da124029d29f0bc2716a57a1

Contents?: true

Size: 529 Bytes

Versions: 1

Compression:

Stored size: 529 Bytes

Contents

# -*- encoding: binary -*-

module Rainbows

  module Const
    RAINBOWS_VERSION = '0.3.0'

    include Unicorn::Const

    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"
    CONN_ALIVE = "Connection: keep-alive\r\n"
    LOCALHOST = "127.0.0.1"

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rainbows-0.3.0 lib/rainbows/const.rb