Update src/Symfony/Component/HttpFoundation/Request.php

This makes `getContentType()` work when a regular form is submitted.
This commit is contained in:
datibbaw 2013-02-21 10:35:14 +08:00
parent 1c783f6038
commit c81ec4dce5

View File

@ -1649,6 +1649,7 @@ class Request
'rdf' => array('application/rdf+xml'),
'atom' => array('application/atom+xml'),
'rss' => array('application/rss+xml'),
'form' => array('application/x-www-form-urlencoded'),
);
}