Module: Rack
Overview
The Rack main module, serving as a namespace for all core Rack
modules and classes.
All modules meant for use in your application are autoload
ed here, so it should be enough just to require 'rack'
in your code.
Constant Summary
-
BUILDER_TOPLEVEL_BINDING =
# File 'lib/rack/builder.rb', line 6->(builder){builder.instance_eval{binding}}
-
CACHE_CONTROL =
Response
Header Keys'cache-control'
-
CONTENT_LENGTH =
# File 'lib/rack/constants.rb', line 20'content-length'
-
CONTENT_TYPE =
# File 'lib/rack/constants.rb', line 21'content-type'
-
DELETE =
# File 'lib/rack/constants.rb', line 32'DELETE'
-
ETAG =
# File 'lib/rack/constants.rb', line 22'etag'
-
EXPIRES =
# File 'lib/rack/constants.rb', line 23'expires'
-
GET =
HTTP method verbs
'GET'
-
HEAD =
# File 'lib/rack/constants.rb', line 33'HEAD'
-
HTTPS =
# File 'lib/rack/constants.rb', line 7'HTTPS'
-
HTTP_COOKIE =
# File 'lib/rack/constants.rb', line 16'HTTP_COOKIE'
-
HTTP_HOST =
Request
env keys'HTTP_HOST'
-
HTTP_PORT =
# File 'lib/rack/constants.rb', line 6'HTTP_PORT'
-
LINK =
# File 'lib/rack/constants.rb', line 35'LINK'
-
OPTIONS =
# File 'lib/rack/constants.rb', line 34'OPTIONS'
-
PATCH =
# File 'lib/rack/constants.rb', line 31'PATCH'
-
PATH_INFO =
# File 'lib/rack/constants.rb', line 8'PATH_INFO'
-
POST =
# File 'lib/rack/constants.rb', line 29'POST'
-
PUT =
# File 'lib/rack/constants.rb', line 30'PUT'
-
QUERY_STRING =
# File 'lib/rack/constants.rb', line 12'QUERY_STRING'
-
RACK_ERRORS =
# File 'lib/rack/constants.rb', line 42'rack.errors'
-
RACK_HIJACK =
# File 'lib/rack/constants.rb', line 49'rack.hijack'
-
RACK_INPUT =
# File 'lib/rack/constants.rb', line 44'rack.input'
-
RACK_IS_HIJACK =
# File 'lib/rack/constants.rb', line 50'rack.hijack?'
-
RACK_LOGGER =
# File 'lib/rack/constants.rb', line 43'rack.logger'
-
RACK_METHODOVERRIDE_ORIGINAL_METHOD =
# File 'lib/rack/constants.rb', line 64'rack.methodoverride.original_method'
-
RACK_MULTIPART_BUFFER_SIZE =
# File 'lib/rack/constants.rb', line 52'rack.multipart.buffer_size'
-
RACK_MULTIPART_TEMPFILE_FACTORY =
# File 'lib/rack/constants.rb', line 53'rack.multipart.tempfile_factory'
-
RACK_RECURSIVE_INCLUDE =
# File 'lib/rack/constants.rb', line 51'rack.recursive.include'
-
RACK_REQUEST_COOKIE_HASH =
# File 'lib/rack/constants.rb', line 60'rack.request.cookie_hash'
-
RACK_REQUEST_COOKIE_STRING =
# File 'lib/rack/constants.rb', line 61'rack.request.cookie_string'
-
RACK_REQUEST_FORM_ERROR =
# File 'lib/rack/constants.rb', line 59'rack.request.form_error'
-
RACK_REQUEST_FORM_HASH =
# File 'lib/rack/constants.rb', line 56'rack.request.form_hash'
-
RACK_REQUEST_FORM_INPUT =
# File 'lib/rack/constants.rb', line 55'rack.request.form_input'
-
RACK_REQUEST_FORM_PAIRS =
# File 'lib/rack/constants.rb', line 57'rack.request.form_pairs'
-
RACK_REQUEST_FORM_VARS =
# File 'lib/rack/constants.rb', line 58'rack.request.form_vars'
-
RACK_REQUEST_QUERY_HASH =
# File 'lib/rack/constants.rb', line 62'rack.request.query_hash'
-
RACK_REQUEST_QUERY_STRING =
# File 'lib/rack/constants.rb', line 63'rack.request.query_string'
-
RACK_RESPONSE_FINISHED =
# File 'lib/rack/constants.rb', line 54'rack.response_finished'
-
RACK_SESSION =
# File 'lib/rack/constants.rb', line 45'rack.session'
-
RACK_SESSION_OPTIONS =
# File 'lib/rack/constants.rb', line 46'rack.session.options'
-
RACK_SHOWSTATUS_DETAIL =
# File 'lib/rack/constants.rb', line 47'rack.showstatus.detail'
-
RACK_TEMPFILES =
# File 'lib/rack/constants.rb', line 41'rack.tempfiles'
-
RACK_URL_SCHEME =
# File 'lib/rack/constants.rb', line 48'rack.url_scheme'
-
RACK_VERSION =
Rack
environment variables'rack.version'
-
RELEASE =
# File 'lib/rack/version.rb', line 15"3.0.0"
-
REQUEST_METHOD =
# File 'lib/rack/constants.rb', line 9'REQUEST_METHOD'
-
REQUEST_PATH =
# File 'lib/rack/constants.rb', line 10'REQUEST_PATH'
-
SCRIPT_NAME =
# File 'lib/rack/constants.rb', line 11'SCRIPT_NAME'
-
SERVER_NAME =
# File 'lib/rack/constants.rb', line 14'SERVER_NAME'
-
SERVER_PORT =
# File 'lib/rack/constants.rb', line 15'SERVER_PORT'
-
SERVER_PROTOCOL =
# File 'lib/rack/constants.rb', line 13'SERVER_PROTOCOL'
-
SET_COOKIE =
# File 'lib/rack/constants.rb', line 24'set-cookie'
-
TRACE =
# File 'lib/rack/constants.rb', line 37'TRACE'
-
TRANSFER_ENCODING =
# File 'lib/rack/constants.rb', line 25'transfer-encoding'
-
UNLINK =
# File 'lib/rack/constants.rb', line 36'UNLINK'
Class Method Summary
-
.release
Return the
Rack
release as a dotted string.
Class Method Details
.release
Return the Rack
release as a dotted string.
# File 'lib/rack/version.rb', line 18
def self.release RELEASE end