sinatra/sinatra — Issue #408: Make the #provides condition consider Content-Type header
Author: jamiehodge
Created: 2011-11-12 13:30:26+00:00
State: open

Ideally, only the first filter should be matched via a browser:

before provides: :html do
# ...
end

before provides: :json do
# ...
end