-
I have some response headers that must be added to all responses (mandated by our security policies). Is it possible, through configuration, to add response headers when a matching route is not found? 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? I can create middleware to do this for all responses but would prefer configuration if possible. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is not currently possible, that would have to be done via middleware. #164 is the closest proposal I've seen for this.
This should be possible in 2.0 with a wildcard route and either #1923 or #1893 |
Beta Was this translation helpful? Give feedback.
This is not currently possible, that would have to be done via middleware. #164 is the closest proposal I've seen for this.
This should be possible in 2.0 with a wildcard route and either #1923 or #1893