CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 14 Aug 2025 06:45:17 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090827084139
location: https://web.archive.org/web/20090827084139/https://github.com/rack/rack-contrib
server-timing: captures_list;dur=0.765551, exclusion.robots;dur=0.027658, exclusion.robots.policy;dur=0.012798, esindex;dur=0.014728, cdx.remote;dur=523.419000, LoadShardBlock;dur=291.096179, PetaboxLoader3.datanode;dur=91.698693, PetaboxLoader3.resolve;dur=71.270751
x-app-server: wwwb-app225
x-ts: 302
x-tr: 855
server-timing: TR;dur=0,Tw;dur=209,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app225; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 301
server: nginx
date: Thu, 14 Aug 2025 06:45:19 GMT
content-type: text/html; charset=utf-8
content-length: 113
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Thu, 27 Aug 2009 08:41:38 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20090827084139/https://github.com/rack/rack-contrib/tree/master
x-archive-orig-x-runtime: 15ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 113
cache-control: max-age=1800
memento-datetime: Thu, 27 Aug 2009 08:41:39 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Thu, 29 Jan 2009 17:33:35 GMT", ; rel="prev memento"; datetime="Mon, 15 Jun 2009 18:17:12 GMT", ; rel="memento"; datetime="Thu, 27 Aug 2009 08:41:39 GMT", ; rel="next memento"; datetime="Thu, 17 Sep 2009 02:32:03 GMT", ; rel="last memento"; datetime="Fri, 20 Jun 2025 01:56:34 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_11_20090827082558_crawl100.gpg-c/52_11_20090827084122_crawl101.arc.gz
server-timing: captures_list;dur=0.559190, exclusion.robots;dur=0.024341, exclusion.robots.policy;dur=0.011371, esindex;dur=0.014428, cdx.remote;dur=393.571299, LoadShardBlock;dur=608.549871, PetaboxLoader3.datanode;dur=417.871051, PetaboxLoader3.resolve;dur=343.471980, load_resource;dur=173.982719
x-app-server: wwwb-app225
x-ts: 301
x-tr: 1207
server-timing: TR;dur=0,Tw;dur=552,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 14 Aug 2025 06:45:22 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Thu, 27 Aug 2009 08:41:39 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 257ms
x-archive-orig-etag: "cb0a7e4c435948386f72bcf7e147f08f"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 28169
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Thu, 27 Aug 2009 08:41:39 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 23 Jan 2009 15:05:12 GMT", ; rel="prev memento"; datetime="Mon, 10 Aug 2009 14:58:21 GMT", ; rel="memento"; datetime="Thu, 27 Aug 2009 08:41:39 GMT", ; rel="next memento"; datetime="Mon, 31 Aug 2009 20:25:45 GMT", ; rel="last memento"; datetime="Fri, 31 May 2024 21:30:11 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_11_20090827082558_crawl100.gpg-c/52_11_20090827084122_crawl101.arc.gz
server-timing: captures_list;dur=1.189064, exclusion.robots;dur=0.017840, exclusion.robots.policy;dur=0.008332, esindex;dur=0.011135, cdx.remote;dur=368.565306, LoadShardBlock;dur=595.824510, PetaboxLoader3.datanode;dur=580.240743, load_resource;dur=322.136393, PetaboxLoader3.resolve;dur=240.968252
x-app-server: wwwb-app225
x-ts: 200
x-tr: 1352
server-timing: TR;dur=0,Tw;dur=799,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
rack's rack-contrib at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Run the following if you haven't already:
gem sources -a https://gems.github.com
Install the gem(s):
sudo gem install rack-rack-contrib
Fork of rtomayko/rack-contrib | |
Description: | Contributed Rack Middleware and Utilities edit |
Homepage: | edit |
Public Clone URL: |
git://github.com/rack/rack-contrib.git
Give this clone URL to anyone.
git clone git://github.com/rack/rack-contrib.git
|
Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:rack/rack-contrib.git
|
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Mon Dec 08 21:22:46 -0800 2008 | Add gemspec for github builds and clean up Rake... [rtomayko] |
![]() |
COPYING | Sun Nov 30 21:28:09 -0800 2008 | boilerplate files; rack/contrib.rb and spec_rac... [rtomayko] |
![]() |
README.rdoc | Fri Jun 05 22:51:47 -0700 2009 | Rack::StaticCache - auto cache headers for URLs... [anupom] |
![]() |
Rakefile | Sat Mar 07 03:56:05 -0800 2009 | Add 'rake spec' task [rtomayko] |
![]() |
lib/ | Thu Aug 06 14:04:54 -0700 2009 | Add Rack::Runtime to autoloads Signed-off-by: ... [paul] |
![]() |
rack-contrib.gemspec | Thu Aug 06 14:01:42 -0700 2009 | added Rack::Cookies to gemspec Signed-off-by: ... [Stephen Delano] |
![]() |
test/ | Thu Aug 06 14:04:53 -0700 2009 | test for setting multiple runtime middlewares ... [paul] |
README.rdoc
Contributed Rack Middleware and Utilities
This package includes a variety of add-on components for Rack, a Ruby web server interface:
- Rack::ETag - Automatically sets the ETag header on all String bodies.
- Rack::JSONP - Adds JSON-P support by stripping out the callback param and padding the response with the appropriate callback format.
- Rack::LighttpdScriptNameFix - Fixes how lighttpd sets the SCRIPT_NAME and PATH_INFO variables in certain configurations.
- Rack::Locale - Detects the client locale using the Accept-Language request header and sets a rack.locale variable in the environment.
- Rack::MailExceptions - Rescues exceptions raised from the app and sends a useful email with the exception, stacktrace, and contents of the environment.
- Rack::NestedParams - parses form params with subscripts (e.g., * "post[title]=Hello") into a nested/recursive Hash structure (based on Rails’ implementation).
- Rack::PostBodyContentTypeParser - Adds support for JSON request bodies. The Rack parameter hash is populated by deserializing the JSON data provided in the request body when the Content-Type is application/json.
- Rack::ProcTitle - Displays request information in process title ($0) for monitoring/inspection with ps(1).
- Rack::Profiler - Uses ruby-prof to measure request time.
- Rack::Sendfile - Enables X-Sendfile support for bodies that can be served from file.
- Rack::Signals - Installs signal handlers that are safely processed after a request
- Rack::StaticCache - Modifies the response headers to facilitiate client and proxy caching for static files that minimizes http requests and improves overall load times for second time visitors.
- Rack::TimeZone - Detects the clients timezone using JavaScript and sets a variable in Rack’s environment with the offset from UTC.
- Rack::Evil - Lets the rack application return a response to the client from any place.
- Rack::Callbacks - Implements DLS for pure before/after filter like Middlewares.
- Rack::Config - Shared configuration for cooperative middleware.
- Rack::NotFound - A default 404 application.
- Rack::CSSHTTPRequest - Adds CSSHTTPRequest support by encoding responses as CSS for cross-site AJAX-style data loading
- Rack::Deflect - Helps protect against DoS attacks.
- Rack::ResponseCache - Caches responses to requests without query strings to Disk or a user provider Ruby object. Similar to Rails’ page caching.
- Rack::RelativeRedirect - Transforms relative paths in redirects to absolute URLs.
- Rack::Backstage - Returns content of specified file if it exists, which makes it convenient for putting up maintenance pages.
- Rack::AcceptFormat - Adds a format extension at the end of the URI when there is none, corresponding to the mime-type given in the Accept HTTP header.
- Rack::HostMeta - Configures /host-meta using a block
- Rack::Cookies - Adds simple cookie jar hash to env
Use
Git is the quickest way to the rack-contrib sources:
git clone git://github.com/rack/rack-contrib.git
Gems are currently available from GitHub clones:
gem install rack-rack-contrib --source=https://gems.github.com/
Requiring ‘rack/contrib’ will add autoloads to the Rack modules for all of the components included. The following example shows what a simple rackup (+config.ru+) file might look like:
require 'rack' require 'rack/contrib' use Rack::Profiler if ENV['RACK_ENV'] == 'development' use Rack::ETag use Rack::MailExceptions run theapp
Links
rack-contrib on GitHub: | <github.com/rack/rack-contrib> |
Rack: | <rack.rubyforge.org/> |
Rack On GitHub: | <github.org/rack/rack> |
rack-devel mailing list: | <groups.google.com/group/rack-devel> |
This feature is coming soon. Sit tight!