[HttpFoundation] fixed, overwritten CONTENT_TYPE
This commit is contained in:
parent
5bf6d7e1b8
commit
d0e4b7639c
@ -325,7 +325,9 @@ class Request
|
|||||||
case 'POST':
|
case 'POST':
|
||||||
case 'PUT':
|
case 'PUT':
|
||||||
case 'DELETE':
|
case 'DELETE':
|
||||||
$server['CONTENT_TYPE'] = 'application/x-www-form-urlencoded';
|
if (!isset($server['CONTENT_TYPE'])) {
|
||||||
|
$server['CONTENT_TYPE'] = 'application/x-www-form-urlencoded';
|
||||||
|
}
|
||||||
case 'PATCH':
|
case 'PATCH':
|
||||||
$request = $parameters;
|
$request = $parameters;
|
||||||
$query = array();
|
$query = array();
|
||||||
|
Reference in New Issue
Block a user