Skip to content

Commit 62f9784

Browse files
authored
Merge pull request #6 from rafelangelo/master
Fix for spiral/roadrunner-http#5
2 parents 4130858 + 7e43639 commit 62f9784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PSR7Worker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ protected function mapRequest(Request $httpRequest, array $server): ServerReques
195195
$request = $request->withParsedBody($httpRequest->getParsedBody());
196196
}
197197

198-
if ($httpRequest->body) {
198+
if ($httpRequest->body !== '') {
199199
return $request->withBody($this->streamFactory->createStream($httpRequest->body));
200200
}
201201

0 commit comments

Comments
 (0)