diff --git a/src/Client/Adapter/Curl.php b/src/Client/Adapter/Curl.php index 37620e9cfd..1bbcb18fae 100644 --- a/src/Client/Adapter/Curl.php +++ b/src/Client/Adapter/Curl.php @@ -437,6 +437,8 @@ public function write($method, $uri, $httpVersion = 1.1, $headers = [], $body = } } + $this->response = ''; + // send the request $response = curl_exec($this->curl);