Not Found Handler
This library provides a Not Found handler so that returned 404 responses are in the problem details format.
This handler will create a problem details
Response with a
404 status code and
a problem details body that will be rendered in either JSON or XML as required by
This handler will only return a response if the request's accept header indicates that it will accept either JSON or XML.
To use this handler in Mezzio add it into your pipeline (usually
immediate before the default
Found a mistake or want to contribute to the documentation? Edit this page on GitHub!