Loading ccsrc/Helpers/helpers_externals.cc +1 −1 Original line number Diff line number Diff line Loading @@ -127,7 +127,7 @@ namespace LibHelpers__Functions { time_t t = std::time(nullptr); auto tm = *std::localtime(&t); std::ostringstream oss; oss << std::put_time(&tm, "%FT%T");//%FT%T%Z oss << std::put_time(&tm, "%FT%TZ");//%FT%T%Z CHARSTRING dt(oss.str().c_str()); loggers::get_instance().log_msg("fx__get__current__date__time: ", dt); Loading ttcn/LibHttp/ttcn/LibHttp_Templates.ttcn +8 −0 Original line number Diff line number Diff line Loading @@ -223,6 +223,14 @@ module LibHttp_Templates { statustext := "Created" } // End of template mw_http_response_201_created template (present) Response mw_http_response_201_created_no_status_text( template (present) HttpMessageBody p_body := ?, template (present) Headers p_header := ? ) modifies mw_http_response_ok := { statuscode := 201, statustext := ? } // End of template mw_http_response_201_created_no_status_text template (present) Response mw_http_response_202_accepted( template (present) HttpMessageBody p_body := ?, template (present) Headers p_header := ? Loading Loading
ccsrc/Helpers/helpers_externals.cc +1 −1 Original line number Diff line number Diff line Loading @@ -127,7 +127,7 @@ namespace LibHelpers__Functions { time_t t = std::time(nullptr); auto tm = *std::localtime(&t); std::ostringstream oss; oss << std::put_time(&tm, "%FT%T");//%FT%T%Z oss << std::put_time(&tm, "%FT%TZ");//%FT%T%Z CHARSTRING dt(oss.str().c_str()); loggers::get_instance().log_msg("fx__get__current__date__time: ", dt); Loading
ttcn/LibHttp/ttcn/LibHttp_Templates.ttcn +8 −0 Original line number Diff line number Diff line Loading @@ -223,6 +223,14 @@ module LibHttp_Templates { statustext := "Created" } // End of template mw_http_response_201_created template (present) Response mw_http_response_201_created_no_status_text( template (present) HttpMessageBody p_body := ?, template (present) Headers p_header := ? ) modifies mw_http_response_ok := { statuscode := 201, statustext := ? } // End of template mw_http_response_201_created_no_status_text template (present) Response mw_http_response_202_accepted( template (present) HttpMessageBody p_body := ?, template (present) Headers p_header := ? Loading