add note about HTTP status code change

This commit is contained in:
Yonel Ceruto 2019-12-23 10:53:34 -05:00
parent 6dc0c38351
commit 429605b213

View File

@ -306,7 +306,7 @@ TwigBundle
The new default exception controller will also change the error response content according to
https://tools.ietf.org/html/rfc7807 for `json`, `xml`, `atom` and `txt` formats:
Before:
Before (HTTP status code `200`):
```json
{
"error": {
@ -316,7 +316,7 @@ TwigBundle
}
```
After:
After (HTTP status code `404`):
```json
{
"title": "Not Found",