You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When EnforceHeader is set to true a 400 is returned with a plaintext explanation, when a correlation ID is not provided.
Could this be changed so that ProblemDetails is returned instead to be consistent with default ApiController behaviour. Alternatively, provide an option to throw an exception instead, that way, anyone implementing a catch-all handler can wrap the error in a ProblemDetails response.
The text was updated successfully, but these errors were encountered:
it will be useful when it will be possible to set up some response factory on EnforceHeader executed. I believe it's also can be done with full backward compatibility
cc @stevejgordon
When EnforceHeader is set to true a 400 is returned with a plaintext explanation, when a correlation ID is not provided.
Could this be changed so that ProblemDetails is returned instead to be consistent with default ApiController behaviour. Alternatively, provide an option to throw an exception instead, that way, anyone implementing a catch-all handler can wrap the error in a ProblemDetails response.
The text was updated successfully, but these errors were encountered: