Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
cn5g
oai-cn5g-smf
Commits
2f8109e4
Commit
2f8109e4
authored
Apr 23, 2021
by
Tien-Thinh Nguyen
Browse files
Continue to fix for PDU Session Establishment Reject
parent
89d871b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/api-server/impl/SMContextsCollectionApiImpl.cpp
View file @
2f8109e4
...
...
@@ -125,13 +125,13 @@ void SMContextsCollectionApiImpl::post_sm_contexts(
response
.
headers
().
add
<
Pistache
::
Http
::
Header
::
ContentType
>
(
Pistache
::
Http
::
Mime
::
MediaType
(
json_format
));
response
.
send
(
Pistache
::
Http
::
Code
(
sm_context_response
.
get_http_code
()),
json_data
.
dump
().
c_str
());
body
=
json_data
.
dump
().
c_str
();
}
else
{
// otherwise, send reply without content
response
.
send
(
Pistache
::
Http
::
Code
(
sm_context_response
.
get_http_code
()));
return
;
}
response
.
send
(
Pistache
::
Http
::
Code
(
sm_context_response
.
get_http_code
()),
body
);
}
}
// namespace api
}
// namespace smf_server
...
...
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