October 26, 2018 Javier Eguiluz

This blog post explained a feature that was reverted before the release of Symfony 4.2. That's why the original blog post content has been removed. You can keep using the following Request methods to work with request formats and MIME types: getMimeType() , getFormat() , getRequestFormat() , getContentType() and getAcceptableContentTypes() .