Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-SMF
Commits
5790756e
Commit
5790756e
authored
Aug 09, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue for multiple headers
parent
d7f2a92f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
src/smf_app/smf_sbi.cpp
src/smf_app/smf_sbi.cpp
+0
-2
No files found.
src/smf_app/smf_sbi.cpp
View file @
5790756e
...
...
@@ -1007,7 +1007,6 @@ bool smf_sbi::curl_create_handle(
bool
smf_sbi
::
curl_create_handle
(
const
std
::
string
&
uri
,
const
std
::
string
&
data
,
std
::
string
&
response_data
,
uint32_t
*
promise_id
,
const
std
::
string
&
method
,
uint8_t
http_version
)
{
headers
=
curl_slist_append
(
headers
,
"Content-Type: application/json"
);
// Create handle for a curl request
CURL
*
curl
=
curl_easy_init
();
...
...
@@ -1064,7 +1063,6 @@ bool smf_sbi::curl_create_handle(
bool
smf_sbi
::
curl_create_handle
(
const
std
::
string
&
uri
,
std
::
string
&
response_data
,
uint32_t
*
promise_id
,
const
std
::
string
&
method
,
uint8_t
http_version
)
{
headers
=
curl_slist_append
(
headers
,
"Content-Type: application/json"
);
// Create handle for a curl request
CURL
*
curl
=
curl_easy_init
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment