This project is archived and is in readonly mode.

#2817 ✓resolved

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 ( [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=""></a>

People watching this ticket


Referenced by