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
0
Issue boards
Milestones
Code
Merge requests
0
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
wp-http-client
Merge requests
!9
fix: body response
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix: body response
revert-6772406f
into
master
Overview
0
Commits
1
Pipelines
1
Changes
2
Merged
Piotr Potrebka
requested to merge
revert-6772406f
into
master
8 months ago
Overview
0
Commits
1
Pipelines
1
Changes
2
Expand
This reverts commit
6772406f
👍
0
👎
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
654fd463
1 commit,
8 months ago
2 files
+
2
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/Curl/CurlClient.php
+
2
−
2
Options
@@ -155,8 +155,8 @@ class CurlClient implements HttpClient {
* @return array
*/
private
function
extractResponseHeadersAndBody
()
{
$rawBody
=
$this
->
rawResponse
;
$rawHeaders
=
implode
(
"
\r\n
"
,
$this
->
headers
);
$rawBody
=
\trim
(
$this
->
rawResponse
)
;
$rawHeaders
=
\trim
(
implode
(
"
\r\n
"
,
$this
->
headers
)
);
return
[
$rawHeaders
,
$rawBody
];
}
Loading