diff --git a/src/Curl/CurlClient.php b/src/Curl/CurlClient.php
index 704ad51cdeb8290032abfdb1581f98df5731bd8b..9d992e82b4796003aa3cd360aaf9fbcfd18bf6e3 100644
--- a/src/Curl/CurlClient.php
+++ b/src/Curl/CurlClient.php
@@ -158,7 +158,7 @@ class CurlClient implements HttpClient
      */
     private function extractResponseHeadersAndBody()
     {
-        $parts = explode("\r\n\r\n", $this->rawResponse);
+        $parts = explode("\r\n\r\n", $this->rawResponse, 2 );
         $rawBody = array_pop($parts);
         $rawHeaders = implode("\r\n\r\n", $parts);
         return [trim($rawHeaders), trim($rawBody)];