From 93d38814f3dbcc27ed8fcf697c049f8cff5cc52c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 10 Sep 2021 13:46:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- http-message/ServerRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-message/ServerRequest.php b/http-message/ServerRequest.php index e3af48b8..590e56dd 100644 --- a/http-message/ServerRequest.php +++ b/http-message/ServerRequest.php @@ -147,7 +147,7 @@ class ServerRequest extends Request implements ServerRequestInterface if (empty($this->parsedBody)) { $callback = Context::getContext('with.parsed.body.callback'); - $this->parsedBody = $callback($this->getBody()); + $this->parsedBody = $callback($this->getBody(), $this->serverTarget->post); } return $this->parsedBody; }