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
!11
fix: body response
Code
Review changes
Check out branch
Download
Patches
Plain diff
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
8 months ago
Overview
3
Commits
2
Pipelines
2
Changes
2
1 unresolved thread
Hide all comments
Expand
👍
0
👎
0
Merge request reports
Compare
master
version 1
ea239727
8 months ago
master (base)
and
latest version
latest version
a12cd5b0
2 commits,
8 months ago
version 1
ea239727
1 commit,
8 months ago
2 files
+
4
−
1
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
+
1
−
1
Options
@@ -155,7 +155,7 @@ class CurlClient implements HttpClient {
* @return array
*/
private
function
extractResponseHeadersAndBody
()
{
$rawBody
=
\trim
(
$this
->
rawResponse
)
;
$rawBody
=
$this
->
rawResponse
;
Bartek Jaskulski
@bjaskulski
·
8 months ago
Owner
Co takiego niszczył ten
trim
?
Collapse replies
Piotr Potrebka
@potreb
·
8 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.