7 * Get the MIME content type from a HTTP response
9 * @param object $res HTTP response
11 * @return string MIME type without comments
13 public static function getMimeType(\HTTP_Request2_Response $res)
15 list($type, ) = explode(';', $res->getHeader('content-type'));