-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
The X-Cascade
header in Rack 3 applications appears to need to be lower case, and so it currently doesn't work as expected in Grape apps using Rack 3 using cascade: true
.
The following spec, which passes in Rack 2, fails as the default response is returned from Grape instead.
it "raises ActionController::RoutingError" do
expect { get "/api/foo" }.to raise_error(ActionController::RoutingError)
end
Manually updating my local Grape gem to use x-cascade
results in the spec passing again.