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().

Published in #Living on the edge