module Rack
The Rack main module, serving as a namespace for all core Rack modules and classes.
All modules meant for use in your application are autoloaded
here, so it should be enough just to require 'rack' in
your code.
Constants
- BUILDER_TOPLEVEL_BINDING
- CACHE_CONTROL
Response Header Keys
- CONNECT
- CONTENT_LENGTH
- CONTENT_TYPE
- DELETE
- ETAG
- EXPIRES
- GET
HTTP method verbs
- HEAD
- HTTPS
- HTTP_COOKIE
- HTTP_HOST
Request env keys
- HTTP_PORT
- LINK
- OPTIONS
- PATCH
- PATH_INFO
- POST
- PUT
- QUERY_STRING
- RACK_EARLY_HINTS
- RACK_ERRORS
- RACK_HIJACK
- RACK_INPUT
- RACK_IS_HIJACK
- RACK_LOGGER
- RACK_METHODOVERRIDE_ORIGINAL_METHOD
- RACK_MULTIPART_BUFFER_SIZE
- RACK_MULTIPART_TEMPFILE_FACTORY
- RACK_RECURSIVE_INCLUDE
- RACK_REQUEST_COOKIE_HASH
- RACK_REQUEST_COOKIE_STRING
- RACK_REQUEST_FORM_ERROR
- RACK_REQUEST_FORM_HASH
- RACK_REQUEST_FORM_INPUT
- RACK_REQUEST_FORM_PAIRS
- RACK_REQUEST_FORM_VARS
- RACK_REQUEST_QUERY_HASH
- RACK_REQUEST_QUERY_STRING
- RACK_RESPONSE_FINISHED
- RACK_SESSION
- RACK_SESSION_OPTIONS
- RACK_SHOWSTATUS_DETAIL
- RACK_TEMPFILES
- RACK_URL_SCHEME
- RACK_VERSION
Rack environment variables
- RELEASE
- REQUEST_METHOD
- REQUEST_PATH
- SCRIPT_NAME
- SERVER_NAME
- SERVER_PORT
- SERVER_PROTOCOL
- SET_COOKIE
- TRACE
- TRANSFER_ENCODING
- UNLINK
Public Class Methods
release()
click to toggle source
Return the Rack release as a dotted string.
# File lib/rack/version.rb, line 17 def self.release RELEASE end