From 429605b2133fea1973bbfa6b117a6259e756d4dd Mon Sep 17 00:00:00 2001 From: Yonel Ceruto Date: Mon, 23 Dec 2019 10:53:34 -0500 Subject: [PATCH] add note about HTTP status code change --- UPGRADE-4.4.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UPGRADE-4.4.md b/UPGRADE-4.4.md index 3409bea3b5..bcdee9ca13 100644 --- a/UPGRADE-4.4.md +++ b/UPGRADE-4.4.md @@ -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",