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

Add new template for 201 Created HTTP response

parent 6959b8be
No related branches found
No related tags found
1 merge request!2Closing TTF T024/025
......@@ -223,12 +223,19 @@ module LibHttp_Templates {
statustext := "Created"
} // End of template mw_http_response_201_created
template (present) Response mw_http_response_201_created_no_body(
template (present) Headers p_header := ?
) modifies mw_http_response_ok_no_body := {
statuscode := 201,
statustext := "Created"
} // End of template mw_http_response_201_created_no_status_text
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 := ?
statustext := "Created"
} // End of template mw_http_response_201_created_no_status_text
template (present) Response mw_http_response_202_accepted(
......
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