Is there a way to disable certain middleware based on the route? Part of my 
application is an API that shouldn't really ever be sending 304's while I'm 
fine with the web application doing that. It seems like removing 
Rack::ConditionalGet should eliminate the setting of the 304 when the ETags 
match, but I don't see a way in the documentation to remove middleware 
non-globally.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/IqF4NHZtjkwJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to