CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 23 Aug 2025 02:32:26 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090415224719
location: https://web.archive.org/web/20090415224719/https://github.com/rack/rack-contrib
server-timing: captures_list;dur=1.192364, exclusion.robots;dur=0.040033, exclusion.robots.policy;dur=0.018981, esindex;dur=0.019155, cdx.remote;dur=59.533710, LoadShardBlock;dur=604.133773, PetaboxLoader3.datanode;dur=354.591565, PetaboxLoader3.resolve;dur=78.870745
x-app-server: wwwb-app204
x-ts: 302
x-tr: 729
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app204; 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: Sat, 23 Aug 2025 02:32:26 GMT
content-type: text/html; charset=utf-8
content-length: 113
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Wed, 15 Apr 2009 22:47:19 GMT
x-archive-orig-connection: close
x-archive-orig-set-cookie: _github_ses=BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--884981fc5aa85daf318eeff084d98e2cff92578f; path=/; expires=Wed, 01 Jan 2020 08:00:00 GMT; HttpOnly
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20090415224719/https://github.com/rack/rack-contrib/tree/master
x-archive-orig-x-runtime: 16ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 113
cache-control: max-age=1800
memento-datetime: Wed, 15 Apr 2009 22:47:19 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="Tue, 31 Mar 2009 18:37:58 GMT", ; rel="memento"; datetime="Wed, 15 Apr 2009 22:47:19 GMT", ; rel="next memento"; datetime="Wed, 03 Jun 2009 15:52:26 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_9_20090415213135_crawl101-c/52_9_20090415224657_crawl101.arc.gz
server-timing: captures_list;dur=1.164843, exclusion.robots;dur=0.024326, exclusion.robots.policy;dur=0.011290, esindex;dur=0.013808, cdx.remote;dur=4.883887, LoadShardBlock;dur=148.449587, PetaboxLoader3.datanode;dur=92.255140, PetaboxLoader3.resolve;dur=124.990024, load_resource;dur=153.909267
x-app-server: wwwb-app204
x-ts: 301
x-tr: 344
server-timing: TR;dur=0,Tw;dur=0,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 302
server: nginx
date: Sat, 23 Aug 2025 02:32:27 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090415004559
location: https://web.archive.org/web/20090415004559/https://github.com/rack/rack-contrib/tree/master
server-timing: captures_list;dur=0.535798, exclusion.robots;dur=0.018307, exclusion.robots.policy;dur=0.008874, esindex;dur=0.010746, cdx.remote;dur=19.773704, LoadShardBlock;dur=205.489845, PetaboxLoader3.datanode;dur=98.857990, PetaboxLoader3.resolve;dur=77.214323
x-app-server: wwwb-app204
x-ts: 302
x-tr: 252
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
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: Sat, 23 Aug 2025 02:32:28 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Wed, 15 Apr 2009 00:45:59 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 969ms
x-archive-orig-etag: "b60655a9db251a520bee5a55e8bb4c6e"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 23146
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Wed, 15 Apr 2009 00:45:59 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="Tue, 31 Mar 2009 18:37:58 GMT", ; rel="memento"; datetime="Wed, 15 Apr 2009 00:45:59 GMT", ; rel="next memento"; datetime="Thu, 14 May 2009 07:55:47 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: 51_9_20090414211106_crawl102-c/51_9_20090415004306_crawl101.arc.gz
server-timing: captures_list;dur=0.473041, exclusion.robots;dur=0.018143, exclusion.robots.policy;dur=0.009279, esindex;dur=0.011178, cdx.remote;dur=14.974986, LoadShardBlock;dur=455.854327, PetaboxLoader3.datanode;dur=445.690144, PetaboxLoader3.resolve;dur=192.276667, load_resource;dur=211.995858
x-app-server: wwwb-app204
x-ts: 200
x-tr: 735
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
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 |
Clone URL: |
git://github.com/rack/rack-contrib.git
Give this clone URL to anyone.
git clone git://github.com/rack/rack-contrib.git
|

Ryan Tomayko (author)
Sat Mar 07 03:59:17 -0800 2009
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Mon Dec 08 21:22:46 -0800 2008 | Add gemspec for github builds and clean up Rake... [Ryan Tomayko] |
![]() |
COPYING | Sun Nov 30 21:28:09 -0800 2008 | boilerplate files; rack/contrib.rb and spec_rac... [Ryan Tomayko] |
![]() |
README.rdoc | Fri Feb 20 16:10:39 -0800 2009 | Rack::AcceptFormat - turns Accept into an file ... [Cyril Rohr] |
![]() |
Rakefile | Sat Mar 07 03:56:05 -0800 2009 | Add 'rake spec' task [Ryan Tomayko] |
![]() |
lib/ | Sat Mar 07 03:59:17 -0800 2009 | Bump version to 0.9.1 for github gem rebuild [Ryan Tomayko] |
![]() |
rack-contrib.gemspec | Sat Mar 07 03:59:17 -0800 2009 | Bump version to 0.9.1 for github gem rebuild [Ryan Tomayko] |
![]() |
test/ | Sat Mar 07 03:56:05 -0800 2009 | Fix all Ruby 1.9 + Rack 1.0 incompatibilities [Ryan Tomayko] |
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::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::Format - 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.
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!