Skip to content

ResponseHeaders for no route and all routes #1928

Answered by Tratcher
app2eds asked this question in Q&A
Discussion options

You must be logged in to vote

Is it possible, through configuration, to add a specific response header to ALL matching routes without having to add the ResponseHeader to each individual route?

This is not currently possible, that would have to be done via middleware. #164 is the closest proposal I've seen for this.

Is it possible, through configuration, to add response headers when a matching route is not found?

This should be possible in 2.0 with a wildcard route and either #1923 or #1893

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by karelz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants