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
+ 4
1
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 1
1
@@ -155,7 +155,7 @@ class CurlClient implements HttpClient {
* @return array
*/
private function extractResponseHeadersAndBody() {
$rawBody = \trim( $this->rawResponse );
$rawBody = $this->rawResponse;
Please register or sign in to reply
$rawHeaders = \trim( implode( "\r\n", $this->headers ) );
return [ $rawHeaders, $rawBody ];
Loading