-
Notifications
You must be signed in to change notification settings - Fork 266
Open
Labels
questionGeneral questionGeneral question
Description
Hi,
Maybe I'm missing something obvious, but I can't find an example of getting mustAccept to behave according to best practices when the Accept header does not match any of the specified content types, which is to return 406. The implementation skips the pipeline in that case, which in my case will result in a 404 because that's the reasonable default.
How can I use mustAccept in a way that allows me to return a 406 if it fails?
64J0
Metadata
Metadata
Assignees
Labels
questionGeneral questionGeneral question