Loading ttcn/Http/LibItsHttp_Templates.ttcn +11 −3 Original line number Diff line number Diff line Loading @@ -101,8 +101,8 @@ 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 Response mw_http_response_ko( template HttpMessageBody p_body := *, template (present) HeaderLines p_header := ? ) := { version_major := 1, Loading @@ -111,6 +111,14 @@ module LibItsHttp_Templates { statustext := ?, header := p_header, body := p_body } // End of template mw_http_response_ko template Response mw_http_response_404_not_found( template HttpMessageBody p_body := *, template (present) HeaderLines p_header := ? ) modifies mw_http_response_ko := { statuscode := 404, statustext := ? // TODO Add pattern for not found } // End of template mw_http_response_ok } // End of group http_responses Loading Loading
ttcn/Http/LibItsHttp_Templates.ttcn +11 −3 Original line number Diff line number Diff line Loading @@ -101,8 +101,8 @@ 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 Response mw_http_response_ko( template HttpMessageBody p_body := *, template (present) HeaderLines p_header := ? ) := { version_major := 1, Loading @@ -111,6 +111,14 @@ module LibItsHttp_Templates { statustext := ?, header := p_header, body := p_body } // End of template mw_http_response_ko template Response mw_http_response_404_not_found( template HttpMessageBody p_body := *, template (present) HeaderLines p_header := ? ) modifies mw_http_response_ko := { statuscode := 404, statustext := ? // TODO Add pattern for not found } // End of template mw_http_response_ok } // End of group http_responses Loading