CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Mon, 25 Aug 2025 04:57:57 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090423062956
location: https://web.archive.org/web/20090423062956/https://github.com/rack/rack-contrib/tree/0.9.0
server-timing: captures_list;dur=0.488163, exclusion.robots;dur=0.017215, exclusion.robots.policy;dur=0.008513, esindex;dur=0.010197, cdx.remote;dur=30.980680, LoadShardBlock;dur=2104.863040, PetaboxLoader3.datanode;dur=2021.088768, PetaboxLoader3.resolve;dur=33.478052
x-app-server: wwwb-app204
x-ts: 302
x-tr: 2158
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 200
server: nginx
date: Mon, 25 Aug 2025 04:57:57 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Thu, 23 Apr 2009 06:29:55 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 455ms
x-archive-orig-etag: "f47f5975bee8a7db433d0f0dbd3848a1"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 21387
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Thu, 23 Apr 2009 06:29:56 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 20 Feb 2009 19:12:22 GMT", ; rel="prev memento"; datetime="Fri, 20 Feb 2009 19:12:22 GMT", ; rel="memento"; datetime="Thu, 23 Apr 2009 06:29:56 GMT", ; rel="next memento"; datetime="Tue, 01 Sep 2009 09:36:13 GMT", ; rel="last memento"; datetime="Sun, 14 Feb 2010 08:13:57 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_20090423022937_crawl100-c/52_9_20090423062953_crawl101.arc.gz
server-timing: captures_list;dur=0.567418, exclusion.robots;dur=0.020948, exclusion.robots.policy;dur=0.010388, esindex;dur=0.011056, cdx.remote;dur=9.993307, LoadShardBlock;dur=113.919477, PetaboxLoader3.datanode;dur=97.413990, PetaboxLoader3.resolve;dur=108.464350, load_resource;dur=124.470727
x-app-server: wwwb-app204
x-ts: 200
x-tr: 330
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 0.9.0 - 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)
Fri Jan 23 03:31:43 -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 | Loading commit data... ![]() |
|
![]() |
Rakefile | ||
![]() |
lib/ | ||
![]() |
rack-contrib.gemspec | ||
![]() |
test/ |
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::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.
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!