This project is archived and is in readonly mode.

#2817 ✓resolved
jduff

Rails Metal Pass Through Response Code Should be Configurable

Reported by jduff | June 19th, 2009 @ 01:42 PM | in 3.0.2

I've created a patch for Rails Metal so that the Response Code that is checked to see if the response should continue through the rest of the stack is configurable. You can set it to an array of HTTP Response codes, or just a single one, much like what can be done with Rack::Cascade (http://github.com/rack/rack/blob/fd1c1d2e494d9a7d15e0458602ef121f24...) [credit to Josh Peek for pointing me towards Rack::Cascade]

Anyways, this lets you configure something like 417 to be the pass through response code so your metal can return 404s if you want them to.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages