@willdurand ok .. i was unsure because there is a fair bit of additional logic in the ``getBestFormat()`` method. @amenophis can you update the ``FormatListener`` with the suggestions by @willdurand so that you can store the matched media type into a request attribute?