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
Commits
ca70dd44
Commit
ca70dd44
authored
4 years ago
by
Sebastian Pisula
Browse files
Options
Downloads
Patches
Plain Diff
bugfix(core): Fixing body issue
parent
6a567334
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!7
bugfix(core): Fixing body issue
Pipeline
#5310
passed with stages
in 1 minute and 35 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changelog.txt
+4
-1
4 additions, 1 deletion
changelog.txt
src/Curl/CurlClient.php
+1
-1
1 addition, 1 deletion
src/Curl/CurlClient.php
with
5 additions
and
2 deletions
changelog.txt
+
4
−
1
View file @
ca70dd44
= 1.0.4 - 2020-12-09 =
* Fixed issue with body
= 1.0.3 - 2020-04-10 =
* Increased Curl connection timeout
* Increased Curl connection timeout
= 1.0.2 - 2019-12-06 =
* Fixed issue with headers
...
...
This diff is collapsed.
Click to expand it.
src/Curl/CurlClient.php
+
1
−
1
View file @
ca70dd44
...
...
@@ -91,7 +91,7 @@ class CurlClient implements HttpClient {
return
$len
;
}
];
if
(
$method
!==
"GET"
)
{
if
(
!
empty
(
$body
)
)
{
$options
[
\CURLOPT_POSTFIELDS
]
=
$body
;
}
\curl_setopt_array
(
$this
->
curlResource
,
$options
);
...
...
This diff is collapsed.
Click to expand it.
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