[HttpFoundation] tweaked previous merge
This commit is contained in:
parent
d0e964a1ae
commit
5276a096a6
@ -10,7 +10,8 @@ CHANGELOG
|
||||
* [BC BREAK] JsonResponse does not turn a top level empty array to an object anymore, use an ArrayObject to enforce objects
|
||||
* added a IpUtils class to check if an IP belongs to a CIDR
|
||||
* added Request::getRealMethod() to get the "real" HTTP method (getMethod() returns the "intended" HTTP method)
|
||||
* disabled _method request parameter support by default (call Request::enableHttpMethodParameterOverride() to enable it)
|
||||
* disabled _method request parameter support by default (call Request::enableHttpMethodParameterOverride() to
|
||||
enable it, and Request::getHttpMethodParameterOverride() to check if it is supported)
|
||||
* Request::splitHttpAcceptHeader() method is deprecated and will be removed in 2.3
|
||||
* Deprecated Flashbag::count() and \Countable interface, will be removed in 2.3
|
||||
|
||||
|
@ -595,9 +595,9 @@ class Request
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the state of httpMethodParameterOverride value.
|
||||
* Checks whether support for the _method request parameter is enabled.
|
||||
*
|
||||
* @return Boolean
|
||||
* @return Boolean True when the _method request parameter is enabled, false otherwise
|
||||
*/
|
||||
public static function getHttpMethodParameterOverride()
|
||||
{
|
||||
|
Reference in New Issue
Block a user