Skip to content
Snippets Groups Projects

fix: body response

Merged Piotr Potrebka requested to merge fix/body-raw into master
1 unresolved thread
2 files
+ 5
2
Compare changes
  • Side-by-side
  • Inline

Files

+ 2
2
@@ -155,8 +155,8 @@ class CurlClient implements HttpClient {
* @return array
*/
private function extractResponseHeadersAndBody() {
$rawBody = \trim( $this->rawResponse );
$rawHeaders = \trim( implode( "\r\n", $this->headers ) );
$rawBody = $this->rawResponse;
$rawHeaders = implode( "\r\n", $this->headers );
return [ $rawHeaders, $rawBody ];
}
Loading