Commit 1db0f8ce authored by Raphael Defosseux's avatar Raphael Defosseux

Merge branch 'fix_n7_http2' into 'develop'

Fix HTTP/2 issue with PCF

See merge request oai/cn5g/oai-cn5g-smf!200
parents 568ebdc2 9c98cb1c
...@@ -280,7 +280,7 @@ sm_policy_status_code smf_pcf_client::create_policy_association( ...@@ -280,7 +280,7 @@ sm_policy_status_code smf_pcf_client::create_policy_association(
true); true);
if (response_code == http_status_code_e::HTTP_STATUS_CODE_201_CREATED) { if (response_code == http_status_code_e::HTTP_STATUS_CODE_201_CREATED) {
std::regex rgx("Location: *(.*)"); std::regex rgx("[L|l]ocation: *(.*)");
std::smatch match; std::smatch match;
if (std::regex_search(response_headers, match, rgx)) { if (std::regex_search(response_headers, match, rgx)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment