Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
TTCN-3 Libraries
LibIts
Compare revisions
956ea968e8a7b3701c6fbb1386c3aac2e98c4d46...3f7c134dc24afb3a4b8ae71dd04b75b116b8fda7
Commits (1)
Bug fixed in TTCN-3 function f_set_headers_list()
· 3f7c134d
YannGarcia
authored
Mar 18, 2020
3f7c134d
Hide whitespace changes
Inline
Side-by-side
ttcn/Http/LibItsHttp_Functions.ttcn
View file @
3f7c134d
...
...
@@ -89,11 +89,11 @@ module LibItsHttp_Functions {
var
integer
v_jdx
;
for
(
v_jdx
:=
0
;
v_jdx
<
lengthof
(
p_headers
);
v_jdx
:=
v_jdx
+
1
)
{
if
(
p_headers
[
v_jdx
].
header_name
==
p_headers_to_set
[
v_idx
])
{
p_headers
[
v_jdx
].
header_value
:=
p_headers_value
;
// NOTE Codec won't encode it
p_headers
[
v_jdx
].
header_value
:=
p_headers_value
[
v_idx
]
;
// NOTE Codec won't encode it
break
;
}
if
(
v_jdx
==
lengthof
(
p_headers
))
{
p_headers
[
v_jdx
].
header_value
:=
p_headers_value
;
p_headers
[
v_jdx
].
header_value
:=
p_headers_value
[
v_jdx
]
;
}
}
// End of 'for' statement
}
// End of 'for' statement
...
...