add note about HTTP status code change
This commit is contained in:
parent
6dc0c38351
commit
429605b213
@ -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",
|
||||
|
Reference in New Issue
Block a user