Commit fa803fc7 authored by YannGarcia's avatar YannGarcia
Browse files

Add RnisNotifications support

parent 1e93108a
Loading
Loading
Loading
Loading
+18 −0
Original line number Original line Diff line number Diff line
@@ -150,6 +150,24 @@ module LibItsHttp_Templates {
          body          := p_body
          body          := p_body
      } // End of template m_http_response_ok
      } // End of template m_http_response_ok
      
      
      template (value) Response m_http_response_ok_no_body(
                                                           in template (value) HeaderLines p_header
      ) := {
          version_major := 1,
          version_minor := 1,
          statuscode    := 200,
          statustext    := "OK",
          header        := p_header,
          body          := omit
      } // End of template m_http_response_ok_no_body
      
      template (value) Response m_http_response_204_no_content(
                                                               in template (value) HeaderLines p_header
      ) modifies m_http_response_ok_no_body := {
          statuscode    := 204,
          statustext    := "No Content"
      } // End of template m_http_response_204_no_content
      
      template (present) Response mw_http_response_ok(
      template (present) Response mw_http_response_ok(
                                                      template (present) HttpMessageBody p_body := ?,
                                                      template (present) HttpMessageBody p_body := ?,
                                                      template (present) HeaderLines p_header := ?
                                                      template (present) HeaderLines p_header := ?