ATTENTION: Upgrade symfony/http-foundation to version 4.4.7 or later
When a Response does not contain a Content-Type header, Symfony falls back to the format defined in the Accept header of the request, leading to a possible mismatch between the response's content and Content-Type header. When the response is cached, this can lead to a corrupted cache where the cached format is not the right one.
- Working on this pull request