Skip to content
Snippets Groups Projects

fix: body response

Merged Piotr Potrebka requested to merge fix/body-raw into master
1 unresolved thread
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -156,7 +156,7 @@ class CurlClient implements HttpClient {
*/
private function extractResponseHeadersAndBody() {
$rawBody = $this->rawResponse;
$rawHeaders = implode( "\r\n", $this->headers );
$rawHeaders = \trim( implode( "\r\n", $this->headers ) );
return [ $rawHeaders, $rawBody ];
}
Loading