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
Compare revisions
b157e35ea7c1146d63d42835c83fe9f74eacdc39 to db28a0f9663ef5d7f44a1b9850ae9c9b3f7f31f2
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
wpdesk/wp-http-client
Select target project
No results found
db28a0f9663ef5d7f44a1b9850ae9c9b3f7f31f2
Select Git revision
Branches
devel
fix/body-raw
master
Tags
1.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
9 results
Swap
Target
wpdesk/wp-http-client
Select target project
wpdesk/wp-http-client
1 result
b157e35ea7c1146d63d42835c83fe9f74eacdc39
Select Git revision
Branches
devel
fix/body-raw
master
Tags
1.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
9 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
fix: body response
· ea239727
Piotr Potrebka
authored
9 months ago
ea239727
fix: body response
· a12cd5b0
Piotr Potrebka
authored
9 months ago
a12cd5b0
Merge branch 'fix/body-raw' into 'master'
· db28a0f9
Piotr Potrebka
authored
9 months ago
fix: body response See merge request
!11
db28a0f9
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
+1
-1
1 addition, 1 deletion
src/Curl/CurlClient.php
with
4 additions
and
1 deletion
changelog.txt
View file @
db28a0f9
= 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
View file @
db28a0f9
...
...
@@ -155,7 +155,7 @@ class CurlClient implements HttpClient {
* @return array
*/
private
function
extractResponseHeadersAndBody
()
{
$rawBody
=
\trim
(
$this
->
rawResponse
)
;
$rawBody
=
$this
->
rawResponse
;
$rawHeaders
=
\trim
(
implode
(
"
\r\n
"
,
$this
->
headers
)
);
return
[
$rawHeaders
,
$rawBody
];
...
...
This diff is collapsed.
Click to expand it.