[HttpFoundation] Fixed #5697 - Request::createFromGlobals, Request::getContentType Changed checking CONTENT_TYPE from server to headers variable
[HttpFoundation] Fixed #5697 - Request::createFromGlobals, Request::getContentType Changed checking CONTENT_TYPE from server to headers variable

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: #5697
Todo: -
License of the code: MIT

symfony/http-foundation,symfony/HttpFoundation,nichdu/HttpFoundation,ygerasimov/HttpFoundation,oswaldderiemaecker/HttpFoundation,mneuhaus/HttpFoundation