This commit is contained in:
2021-09-10 14:03:01 +08:00
parent c7ac95c807
commit 4feecd49f4
+1 -1
View File
@@ -72,7 +72,7 @@ class ServerRequest extends Request implements ServerRequestInterface
->withServerTarget($request)
->withCookieParams($request->cookie)
->withUri(Uri::parseUri($request))
->withBody(new Stream(''))
->withBody(new Stream($request->getContent()))
->withQueryParams($request->get ?? [])
->withUploadedFiles($request->files ?? [])
->withMethod($request->getMethod())