Skip to content
Snippets Groups Projects
Commit 163d1cfc authored by Yann Garcia's avatar Yann Garcia
Browse files

Prepare CDM#44 demo

parent a0803fb1
No related branches found
No related tags found
1 merge request!2Closing TTF T024/025
......@@ -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);
......
......@@ -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 := ?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment