Sha256: 162571c820832902182dcdd51c7ab56b11850b54323ac627b9c3f12eabddba16

Contents?: true

Size: 1.22 KB

Versions: 10

Compression:

Stored size: 1.22 KB

Contents

module Jubilee
  module Const
    JUBILEE_VERSION = Version::STRING
    HTTP_11 = "HTTP/1.1".freeze
    HTTP_10 = "HTTP/1.0".freeze

    SERVER_SOFTWARE = "SERVER_SOFTWARE".freeze
    SERVER_PROTOCOL = "SERVER_PROTOCOL".freeze
    GATEWAY_INTERFACE = "GATEWAY_INTERFACE".freeze
    SERVER_NAME = "SERVER_NAME".freeze
    SERVER_PORT = "SERVER_PORT".freeze

    CGI_VER = "CGI/1.2".freeze

    RACK_INPUT = "rack.input".freeze

    REQUEST_METHOD = 'REQUEST_METHOD'.freeze
    GET = 'GET'.freeze
    POST = "POST".freeze
    REQUEST_PATH = "REQUEST_PATH".freeze
    REQUEST_URI = "REQUEST_URI".freeze
    PATH_INFO = "PATH_INFO".freeze
    QUERY_STRING = "QUERY_STRING".freeze

    CONTENT_LENGTH = "Content-Length".freeze
    TRANSFER_ENCODING = "Transfer-Encoding".freeze

    HTTP_VERSION = "HTTP_VERSION".freeze
    HTTP_HOST = "HTTP_HOST".freeze
    HTTP_USER_AGENT = "HTTP_USER_AGENT".freeze
    HTTP_ACCEPT = "HTTP_ACCEPT".freeze
    HTTP_COOKIE = "HTTP_COOKIE".freeze
    HTTP_ACCEPT_LANGUAGE = "HTTP_ACCEPT_LANGUAGE".freeze
    HTTP_ACCEPT_ENCODING = "HTTP_ACCEPT_ENCODING".freeze
    HTTP_CONNECTION = "HTTP_CONNECTION".freeze
    NEWLINE = "\n".freeze

    STATUS_WITH_NO_ENTITY_BODY = Hash[[204,205,304].map{|s| [s, true]}]
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
jubilee-2.1.0.Alpha1-java lib/jubilee/const.rb
jubilee-2.0.0-java lib/jubilee/const.rb
jubilee-2.0.0.beta-java lib/jubilee/const.rb
jubilee-2.0.0.alpha1-java lib/jubilee/const.rb
jubilee-1.1.3-java lib/jubilee/const.rb
jubilee-1.1.2-java lib/jubilee/const.rb
jubilee-1.1.0-java lib/jubilee/const.rb
jubilee-1.1.0.rc3 lib/jubilee/const.rb
jubilee-1.1.0.rc2 lib/jubilee/const.rb
jubilee-1.1.0.rc1 lib/jubilee/const.rb