original_string: protected function createResponse($handle, $responseData)
      {
          $headerSize = curl_getinfo($handle, CURLINFO_HEADER_SIZE);
          $headers = trim(substr($responseData, 0, $headerSize));
          $body = substr($responseData, $headerSize);
          $response = new Response(explode("\r\n", $headers), $body);
  
          return [$response];
      }
code: protected function createResponse($handle, $responseData)
      {
          $headerSize = curl_getinfo($handle, CURLINFO_HEADER_SIZE);
          $headers = trim(substr($responseData, 0, $headerSize));
          $body = substr($responseData, $headerSize);
          $response = new Response(explode("\r\n", $headers), $body);
  
          return [$response];
      }
code_tokens: protected function createResponse ( $ handle , $ responseData ) { $ headerSize = curl_getinfo ( $ handle , CURLINFO_HEADER_SIZE ) ; $ headers = trim ( substr ( $ responseData , 0 , $ headerSize ) ) ; $ body = substr ( $ responseData , $ headerSize ) ; $ response = new Response ( explode ( "\r\n" , $ headers ) , $ body ) ; return [ $ response ] ; }
docstring: Convert the raw curl response into an Http\Client\Response
  
  @param resource $handle Curl handle
  @param string $responseData string The response data from curl_exec
  @return \Cake\Http\Client\Response
docstring_tokens: Convert the raw curl response into an Http \ Client \ Response