diff --git a/ccsrc/Helpers/helpers_externals.cc b/ccsrc/Helpers/helpers_externals.cc index d4dfde6086ae8beaf710bc7e0a96f4b5ab718960..c9f2ec731b5bf40b31c86c043814cd397d9f4c97 100644 --- a/ccsrc/Helpers/helpers_externals.cc +++ b/ccsrc/Helpers/helpers_externals.cc @@ -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); diff --git a/ttcn/LibHttp/ttcn/LibHttp_Templates.ttcn b/ttcn/LibHttp/ttcn/LibHttp_Templates.ttcn index b5eb352c39e119cfa05380d47d354f7cf21c4d6f..fc641a2f297e60a04a897492fa6cf64d18cf31e2 100644 --- a/ttcn/LibHttp/ttcn/LibHttp_Templates.ttcn +++ b/ttcn/LibHttp/ttcn/LibHttp_Templates.ttcn @@ -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 := ?