symfony/symfony — pull request #2559 by thomasbibb (2011-11-03 19:49:45+00:00)
Title: Added getContentType

I've added the ability for Symfony\Component\HttpFoundation\Request to return the ContentType from serverBag this uses the $formats array to determine if the requested ContentType is valid.