We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d66b468 + 8bef053 commit 1bf352fCopy full SHA for 1bf352f
1 file changed
src/Http/Driver/CurlDriver.php
@@ -81,6 +81,7 @@ public function execute(RequestInterface $request)
81
$response = $response->withStatus($info['http_code']);
82
83
$response->getBody()->write($result);
84
+ $response->getBody()->rewind(); // empty getContents() without rewind()
85
86
return $response;
87
}
0 commit comments