Module: Rack
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/version.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/etag.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/file.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/head.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/lint.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/lock.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/mime.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/mock.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/files.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/utils.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/config.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/events.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/logger.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/server.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/static.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/urlmap.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/builder.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/cascade.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/chunked.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/handler.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/lobster.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/request.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/runtime.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/deflater.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/reloader.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/response.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/sendfile.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/directory.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/multipart.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/recursive.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/auth/basic.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/body_proxy.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/media_type.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/handler/cgi.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/null_logger.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/show_status.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.5/examples/rainbows.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/content_type.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/handler/lsws.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/handler/scgi.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/handler/thin.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/query_parser.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/session/pool.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/common_logger.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/content_length.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/session/cookie.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/auth/digest/md5.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/conditional_get.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/core_ext/regexp.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/handler/webrick.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/method_override.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/show_exceptions.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/tempfile_reaper.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/multipart/parser.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/rewindable_input.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/session/memcache.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/auth/digest/nonce.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/auth/digest/params.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/auth/digest/request.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/multipart/generator.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/session/abstract/id.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/auth/abstract/handler.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/auth/abstract/request.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/multipart/uploaded_file.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/base.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/version.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/encryptor.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/json_csrf.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/form_token.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/xss_header.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/http_origin.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/ip_spoofing.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/remote_token.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/frame_options.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/cookie_tossing.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/escaped_params.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/path_traversal.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/referrer_policy.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/remote_referrer.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/encrypted_cookie.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/strict_transport.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/session_hijacking.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/authenticity_token.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.5/lib/rack/protection/content_security_policy.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/handler/fastcgi.rb
Overview
Regexp has ‘match?` since Ruby 2.4 so to support Ruby < 2.4 we need to define this method
Defined Under Namespace
Modules: Auth, Handler, Mime, Multipart, Protection, RegexpExtensions, Session, Utils Classes: BodyProxy, Builder, Cascade, Chunked, CommonLogger, ConditionalGet, Config, ContentLength, ContentType, Deflater, Directory, ETag, Events, Files, ForwardRequest, Head, Lint, Lobster, Lock, Logger, MediaType, MethodOverride, MockRequest, MockResponse, NullLogger, QueryParser, Recursive, Reloader, Request, Response, RewindableInput, Runtime, Sendfile, Server, ShowExceptions, ShowStatus, Static, TempfileReaper, URLMap
Constant Summary collapse
- HTTP_HOST =
'HTTP_HOST'
- HTTP_PORT =
'HTTP_PORT'
- HTTP_VERSION =
'HTTP_VERSION'
- HTTPS =
'HTTPS'
- PATH_INFO =
'PATH_INFO'
- REQUEST_METHOD =
'REQUEST_METHOD'
- REQUEST_PATH =
'REQUEST_PATH'
- SCRIPT_NAME =
'SCRIPT_NAME'
- QUERY_STRING =
'QUERY_STRING'
- SERVER_PROTOCOL =
'SERVER_PROTOCOL'
- SERVER_NAME =
'SERVER_NAME'
- SERVER_PORT =
'SERVER_PORT'
- CACHE_CONTROL =
'Cache-Control'
- EXPIRES =
'Expires'
- CONTENT_LENGTH =
'Content-Length'
- CONTENT_TYPE =
'Content-Type'
- SET_COOKIE =
'Set-Cookie'
- TRANSFER_ENCODING =
'Transfer-Encoding'
- HTTP_COOKIE =
'HTTP_COOKIE'
- ETAG =
'ETag'
- GET =
HTTP method verbs
'GET'
- POST =
'POST'
- PUT =
'PUT'
- PATCH =
'PATCH'
- DELETE =
'DELETE'
- HEAD =
'HEAD'
- OPTIONS =
'OPTIONS'
- LINK =
'LINK'
- UNLINK =
'UNLINK'
- TRACE =
'TRACE'
- RACK_VERSION =
Rack environment variables
'rack.version'
- RACK_TEMPFILES =
'rack.tempfiles'
- RACK_ERRORS =
'rack.errors'
- RACK_LOGGER =
'rack.logger'
- RACK_INPUT =
'rack.input'
- RACK_SESSION =
'rack.session'
- RACK_SESSION_OPTIONS =
'rack.session.options'
- RACK_SHOWSTATUS_DETAIL =
'rack.showstatus.detail'
- RACK_MULTITHREAD =
'rack.multithread'
- RACK_MULTIPROCESS =
'rack.multiprocess'
- RACK_RUNONCE =
'rack.run_once'
- RACK_URL_SCHEME =
'rack.url_scheme'
- RACK_HIJACK =
'rack.hijack'
- RACK_IS_HIJACK =
'rack.hijack?'
- RACK_HIJACK_IO =
'rack.hijack_io'
- RACK_RECURSIVE_INCLUDE =
'rack.recursive.include'
- RACK_MULTIPART_BUFFER_SIZE =
'rack.multipart.buffer_size'
- RACK_MULTIPART_TEMPFILE_FACTORY =
'rack.multipart.tempfile_factory'
- RACK_REQUEST_FORM_INPUT =
'rack.request.form_input'
- RACK_REQUEST_FORM_HASH =
'rack.request.form_hash'
- RACK_REQUEST_FORM_VARS =
'rack.request.form_vars'
- RACK_REQUEST_COOKIE_HASH =
'rack.request.cookie_hash'
- RACK_REQUEST_COOKIE_STRING =
'rack.request.cookie_string'
- RACK_REQUEST_QUERY_HASH =
'rack.request.query_hash'
- RACK_REQUEST_QUERY_STRING =
'rack.request.query_string'
- RACK_METHODOVERRIDE_ORIGINAL_METHOD =
'rack.methodoverride.original_method'
- RACK_SESSION_UNPACKED_COOKIE_DATA =
'rack.session.unpacked_cookie_data'
- File =
Files
- VERSION =
The Rack protocol version number implemented.
[1, 3]
- RELEASE =
"2.2.5"
Class Method Summary collapse
-
.release ⇒ Object
Return the Rack release as a dotted string.
-
.version ⇒ Object
Return the Rack protocol version as a dotted string.