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; }