[PATCH] Rails Metal Pass Through Response Code Should be Configurable

3 views
Skip to first unread message

jd

unread,
Jun 19, 2009, 3:31:23 PM6/19/09
to Ruby on Rails: Core
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. 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.

https://rails.lighthouseapp.com/projects/8994/tickets/2817-rails-metal-pass-through-response-code-should-be-configurable
Reply all
Reply to author
Forward
0 new messages