Module | Rack
In: | lib/rack/lint.rb lib/rack/showstatus.rb lib/rack/methodoverride.rb lib/rack/content_length.rb lib/rack/mock.rb lib/rack/builder.rb lib/rack/request.rb lib/rack/mime.rb lib/rack/cascade.rb lib/rack/config.rb lib/rack/etag.rb lib/rack/lock.rb lib/rack/response.rb lib/rack/tempfile_reaper.rb lib/rack/showexceptions.rb lib/rack/multipart/uploaded_file.rb lib/rack/multipart/parser.rb lib/rack/multipart/generator.rb lib/rack/content_type.rb lib/rack/handler.rb lib/rack/sendfile.rb lib/rack/body_proxy.rb lib/rack/rewindable_input.rb lib/rack/head.rb lib/rack/reloader.rb lib/rack/lobster.rb lib/rack/directory.rb lib/rack/nulllogger.rb lib/rack/server.rb lib/rack/chunked.rb lib/rack/auth/basic.rb lib/rack/auth/digest/request.rb lib/rack/auth/digest/params.rb lib/rack/auth/digest/nonce.rb lib/rack/auth/digest/md5.rb lib/rack/auth/abstract/request.rb lib/rack/auth/abstract/handler.rb lib/rack/handler/lsws.rb lib/rack/handler/swiftiplied_mongrel.rb lib/rack/handler/evented_mongrel.rb lib/rack/handler/webrick.rb lib/rack/handler/thin.rb lib/rack/handler/scgi.rb lib/rack/handler/mongrel.rb lib/rack/handler/cgi.rb lib/rack/handler/fastcgi.rb lib/rack/recursive.rb lib/rack/session/pool.rb lib/rack/session/cookie.rb lib/rack/session/memcache.rb lib/rack/session/abstract/id.rb lib/rack/multipart.rb lib/rack/file.rb lib/rack/utils.rb lib/rack/conditionalget.rb lib/rack/runtime.rb lib/rack/deflater.rb lib/rack/static.rb lib/rack/commonlogger.rb lib/rack/logger.rb lib/rack/urlmap.rb lib/rack.rb

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.rb` in your code.

### Methods

call parse_nested_query release version

### Classes and Modules

Module Rack::Auth
Module Rack::Handler
Module Rack::Mime
Module Rack::Multipart
Module Rack::Session
Module Rack::Utils
Class Rack::BodyProxy
Class Rack::Builder
Class Rack::Cascade
Class Rack::Chunked
Class Rack::CommonLogger
Class Rack::ConditionalGet
Class Rack::Config
Class Rack::ContentLength
Class Rack::ContentType
Class Rack::Deflater
Class Rack::Directory
Class Rack::ETag
Class Rack::File
Class Rack::ForwardRequest
Class Rack::Head
Class Rack::Lint
Class Rack::Lobster
Class Rack::Lock
Class Rack::Logger
Class Rack::MethodOverride
Class Rack::MockRequest
Class Rack::MockResponse
Class Rack::NullLogger
Class Rack::Recursive
Class Rack::Reloader
Class Rack::Request
Class Rack::Response
Class Rack::RewindableInput
Class Rack::Runtime
Class Rack::Sendfile
Class Rack::Server
Class Rack::ShowExceptions
Class Rack::ShowStatus
Class Rack::Static
Class Rack::TempfileReaper
Class Rack::URLMap

### Constants

VERSION | = | [1,3] |  | The Rack protocol version number implemented.
PATH_INFO | = | 'PATH_INFO'.freeze
REQUEST_METHOD | = | 'REQUEST_METHOD'.freeze
SCRIPT_NAME | = | 'SCRIPT_NAME'.freeze
QUERY_STRING | = | 'QUERY_STRING'.freeze
CACHE_CONTROL | = | 'Cache-Control'.freeze
CONTENT_LENGTH | = | 'Content-Length'.freeze
CONTENT_TYPE | = | 'Content-Type'.freeze
GET | = | 'GET'.freeze
HEAD | = | 'HEAD'.freeze

### Public Class methods

release()

Return the Rack release as a dotted string.

version()

Return the Rack protocol version as a dotted string.

### Public Instance methods

call(env)
parse_nested_query(qs, d = nil)

parse_nested_query expands a query string into structural types. Supported types are Arrays, Hashes and basic value types. It is possible to supply query strings with parameters of conflicting types, in this case a ParameterTypeError is raised. Users are encouraged to return a 400 in this case.

[Validate]