Loading ttcn/Http/LibItsHttp_Functions.ttcn +4 −3 Original line number Diff line number Diff line Loading @@ -9,9 +9,10 @@ module LibItsHttp_Functions { ) { p_headers[0] := { c_header_host, { PICS_HEADER_HOST } }; p_headers[1] := { c_header_content_type, { PICS_HEADER_CONTENT_TYPE } }; p_headers[2] := { c_header_connection, { "keep-alive" } }; p_headers[3] := { c_header_pragma, { "no-cache" } }; p_headers[4] := { c_header_cache_control, { "no-cache" } }; p_headers[2] := { c_header_content_length, { "0" } }; p_headers[3] := { c_header_connection, { "keep-alive" } }; p_headers[4] := { c_header_pragma, { "no-cache" } }; p_headers[5] := { c_header_cache_control, { "no-cache" } }; } // End of function f_init_default_headers_list Loading ttcn/Http/LibItsHttp_Templates.ttcn +13 −1 Original line number Diff line number Diff line Loading @@ -101,6 +101,18 @@ module LibItsHttp_Templates { body := p_body } // End of template mw_http_response_ok template (present) Response mw_http_response_ko( template (present) HttpMessageBody p_body := ?, template (present) HeaderLines p_header := ? ) := { version_major := 1, version_minor := 1, statuscode := complement(200), statustext := ?, header := p_header, body := p_body } // End of template mw_http_response_ok } // End of group http_responses group http_xml_body { Loading ttcn/Http/LibItsHttp_TypesAndValues.ttcn +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ module LibItsHttp_TypesAndValues { const charstring c_header_host := "Host"; const charstring c_header_content_type := "Content-type"; const charstring c_header_content_length := "Content-length"; const charstring c_header_accept := "Accept"; const charstring c_header_connection := "Connection"; const charstring c_header_pragma := "Pragma"; Loading ttcn/Security/LibItsSecurity_Functions.ttcn +63 −68 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
ttcn/Http/LibItsHttp_Functions.ttcn +4 −3 Original line number Diff line number Diff line Loading @@ -9,9 +9,10 @@ module LibItsHttp_Functions { ) { p_headers[0] := { c_header_host, { PICS_HEADER_HOST } }; p_headers[1] := { c_header_content_type, { PICS_HEADER_CONTENT_TYPE } }; p_headers[2] := { c_header_connection, { "keep-alive" } }; p_headers[3] := { c_header_pragma, { "no-cache" } }; p_headers[4] := { c_header_cache_control, { "no-cache" } }; p_headers[2] := { c_header_content_length, { "0" } }; p_headers[3] := { c_header_connection, { "keep-alive" } }; p_headers[4] := { c_header_pragma, { "no-cache" } }; p_headers[5] := { c_header_cache_control, { "no-cache" } }; } // End of function f_init_default_headers_list Loading
ttcn/Http/LibItsHttp_Templates.ttcn +13 −1 Original line number Diff line number Diff line Loading @@ -101,6 +101,18 @@ module LibItsHttp_Templates { body := p_body } // End of template mw_http_response_ok template (present) Response mw_http_response_ko( template (present) HttpMessageBody p_body := ?, template (present) HeaderLines p_header := ? ) := { version_major := 1, version_minor := 1, statuscode := complement(200), statustext := ?, header := p_header, body := p_body } // End of template mw_http_response_ok } // End of group http_responses group http_xml_body { Loading
ttcn/Http/LibItsHttp_TypesAndValues.ttcn +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ module LibItsHttp_TypesAndValues { const charstring c_header_host := "Host"; const charstring c_header_content_type := "Content-type"; const charstring c_header_content_length := "Content-length"; const charstring c_header_accept := "Accept"; const charstring c_header_connection := "Connection"; const charstring c_header_pragma := "Pragma"; Loading
ttcn/Security/LibItsSecurity_Functions.ttcn +63 −68 File changed.Preview size limit exceeded, changes collapsed. Show changes