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
Commits
6772406f
Commit
6772406f
authored
9 months ago
by
Piotr Potrebka
Browse files
Options
Downloads
Patches
Plain Diff
fix: body response
parent
37e89fcb
No related branches found
No related tags found
No related merge requests found
Pipeline
#426498
failed
9 months ago
Stage: prepare-vendor
Stage: tools
Stage: tests
Stage: deploy
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
changelog.txt
+3
-0
3 additions, 0 deletions
changelog.txt
src/Curl/CurlClient.php
+2
-2
2 additions, 2 deletions
src/Curl/CurlClient.php
with
5 additions
and
2 deletions
changelog.txt
+
3
−
0
View file @
6772406f
= 1.0.5 - 2024-10-07 =
* Fixed body response
= 1.0.4 - 2020-12-09 =
* Fixed issue with body
...
...
This diff is collapsed.
Click to expand it.
src/Curl/CurlClient.php
+
2
−
2
View file @
6772406f
...
...
@@ -155,8 +155,8 @@ class CurlClient implements HttpClient {
* @return array
*/
private
function
extractResponseHeadersAndBody
()
{
$rawBody
=
\trim
(
$this
->
rawResponse
)
;
$rawHeaders
=
\trim
(
implode
(
"
\r\n
"
,
$this
->
headers
)
);
$rawBody
=
$this
->
rawResponse
;
$rawHeaders
=
implode
(
"
\r\n
"
,
$this
->
headers
);
return
[
$rawHeaders
,
$rawBody
];
}
...
...
This diff is collapsed.
Click to expand it.
Piotr Potrebka
@potreb
mentioned in commit
654fd463
·
9 months ago
mentioned in commit
654fd463
mentioned in commit 654fd46313928bfb5d08777edca7a969c1678136
Toggle commit list
Piotr Potrebka
@potreb
mentioned in merge request
!9 (merged)
·
9 months ago
mentioned in merge request
!9 (merged)
mentioned in merge request !9
Toggle commit list
Piotr Potrebka
@potreb
mentioned in commit
b157e35e
·
9 months ago
mentioned in commit
b157e35e
mentioned in commit b157e35ea7c1146d63d42835c83fe9f74eacdc39
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment