diff --git a/VERSION b/VERSION index c114700..f2ae0b4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.11 +1.2.12 diff --git a/flight/net/Request.php b/flight/net/Request.php index 97f2608..c21ef27 100644 --- a/flight/net/Request.php +++ b/flight/net/Request.php @@ -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'); }