getBody should check for PATCH method.

pull/178/head
Mike Cao 10 years ago
parent a32f2c2087
commit 10750b5ce3

@ -1 +1 @@
1.2.11
1.2.12

@ -205,7 +205,7 @@ class Request {
$method = self::getMethod();
if ($method == 'POST' || $method == 'PUT') {
if ($method == 'POST' || $method == 'PUT' || $method == 'PATCH') {
$body = file_get_contents('php://input');
}

Loading…
Cancel
Save