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
2
1 unresolved thread
Hide all comments
Merged
Piotr Potrebka
requested to merge
fix/body-raw
into
master
9 months ago
Overview
3
Commits
2
Pipelines
2
Changes
2
1 unresolved thread
Hide all comments
0
0
Merge request reports
Compare
master
version 1
ea239727
9 months ago
master (base)
and
latest version
latest version
a12cd5b0
2 commits,
9 months ago
version 1
ea239727
1 commit,
9 months ago
2 files
+
4
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
src/Curl/CurlClient.php
+
1
−
1
View file @ a12cd5b0
Edit in single-file editor
Open in Web IDE
Hide comments on this file
Show full file
@@ -155,7 +155,7 @@ class CurlClient implements HttpClient {
* @return array
*/
private
function
extractResponseHeadersAndBody
()
{
$rawBody
=
\trim
(
$this
->
rawResponse
)
;
$rawBody
=
$this
->
rawResponse
;
Bartek Jaskulski
@bjaskulski
9 months ago
Owner
Co takiego niszczył ten
trim
?
Collapse replies
Piotr Potrebka
@potreb
9 months ago
Author
Contributor
PDFa.
Please
register
or
sign in
to reply
Please
register
or
sign in
to reply
$rawHeaders
=
\trim
(
implode
(
"
\r\n
"
,
$this
->
headers
)
);
return
[
$rawHeaders
,
$rawBody
];
Loading
Co takiego niszczył ten
trim
?PDFa.