Provides an minimal interface between webservers supporting Ruby and several of its frameworks.
Link: rack.rubyforge.org
Parses the “Range:” header, if present, into an array of Range objects. Returns nil if the header is missing or syntactically invalid. Returns an empty array if none of the ranges are satisfiable.
Alex Beregszaszi, Alexander Kahn, Anil Wadghule, Aredridel, Ben Alpert, Dan Kubb, Daniel Roethlisberger, Matt Todd, Tom Robinson, Phil Hagelberg, S. Brent Faulkner, Bosko Milekic, Daniel Rodríguez Troitiño, Genki Takiuchi, Geoffrey Grosenbach, Julien Sanchez, Kamal Fariz Mahyuddin, Ma...
REQUEST_METHOD : The HTTP request method, such as "GET" or "POST". This cannot ever be an empty string, and so is always required. SCRIPT_NAME : The initial portion of the request URL‘s "path" that corresponds to the application object, so that the application knows its virtual "locat...
Personifi uses Rack cause we like its elegant design, speed and fast turn around time. With Rack we serve billions of requests per month. It makes our life good! —Armin Roehrl, Lead Engineer of Personifi
Adrian Madrid, for the LiteSpeed handler. Christoffer Sawicki, for the first Rails adapter and Rack::Deflater . Tim Fletcher, for the HTTP authentication code. Luc Heinrich for the Cookie sessions, the static file handler and bugfixes. Armin Ronacher, for the logo and racktools. Aredr...
Rack::Directory serves entries below the root given, according to the path info of the Rack request. If a directory is found, the file’s contents will be presented in an html based index. If a file is found, the env will be passed to the specified app . If app is not specified, a Rack...
Constants HTTP_METHODS = %w(GET HEAD PUT POST DELETE OPTIONS) METHOD_OVERRIDE_PARAM_KEY = "_method".freeze HTTP_METHOD_OVERRIDE_HEADER = "HTTP_X_HTTP_METHOD_OVERRIDE".freeze Public Class methods new (app) Public Instance methods call (env)