From 5dd75fba7f1cf859dc8dda336dd8aff5e5a50670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 10 Sep 2021 11:48:45 +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 b8b01e18..8e369a8f 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()->getContents()); + $this->parsedBody = $callback($this->getBody()); } return $this->parsedBody; }