Skip to content

Commit 1bf352f

Browse files
authored
Merge pull request #22 from S-anasol/patch-2
CurlDriver update #21
2 parents d66b468 + 8bef053 commit 1bf352f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Http/Driver/CurlDriver.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ public function execute(RequestInterface $request)
8181
$response = $response->withStatus($info['http_code']);
8282

8383
$response->getBody()->write($result);
84+
$response->getBody()->rewind(); // empty getContents() without rewind()
8485

8586
return $response;
8687
}

0 commit comments

Comments
 (0)