Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wp-http-client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
wp-http-client
Merge requests
!11
fix: body response
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
fix: body response
fix/body-raw
into
master
Overview
3
Commits
2
Pipelines
2
Changes
1
1 unresolved thread
Hide all comments
Merged
Piotr Potrebka
requested to merge
fix/body-raw
into
master
8 months ago
Overview
3
Commits
2
Pipelines
2
Changes
1
1 unresolved thread
Hide all comments
0
0
Merge request reports
Viewing commit
a12cd5b0
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
a12cd5b0
fix: body response
· a12cd5b0
Piotr Potrebka
authored
8 months ago
src/Curl/CurlClient.php
+
1
−
1
View file @ a12cd5b0
Edit in single-file editor
Open in Web IDE
Show full file
@@ -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