Skip to content
Snippets Groups Projects
Commit a12cd5b0 authored by Piotr Potrebka's avatar Piotr Potrebka
Browse files

fix: body response

parent ea239727
No related branches found
No related tags found
1 merge request!11fix: body response
Pipeline #426512 passed with stages
in 30 seconds
......@@ -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 ];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment