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

Merge branch 'fix/body-raw' into 'master'

fix: body response

See merge request !11
parents b157e35e a12cd5b0
No related branches found
No related tags found
1 merge request!11fix: body response
Pipeline #426528 failed with stages
in 35 seconds
= 1.0.5 - 2024-10-07 =
* Fixed body response
= 1.0.4 - 2020-12-09 = = 1.0.4 - 2020-12-09 =
* Fixed issue with body * Fixed issue with body
......
...@@ -155,7 +155,7 @@ class CurlClient implements HttpClient { ...@@ -155,7 +155,7 @@ class CurlClient implements HttpClient {
* @return array * @return array
*/ */
private function extractResponseHeadersAndBody() { private function extractResponseHeadersAndBody() {
$rawBody = \trim( $this->rawResponse ); $rawBody = $this->rawResponse;
$rawHeaders = \trim( implode( "\r\n", $this->headers ) ); $rawHeaders = \trim( implode( "\r\n", $this->headers ) );
return [ $rawHeaders, $rawBody ]; 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