3.2.5.5 Responding to a NotificationWait Request Type Request
The server creates a NotificationWait request type response, as specified in section 2.2.2.2, including the NotificationWait request type response body as specified in section 2.2.4.4.2 if the request was successful, or the response body specified in section 2.2.4.4.3 if unsuccessful. This response is not sent until either the current server event completes or the 5-minute maximum time limit expires. The server MUST keep the Session Context alive for the entire duration of the NotificationWait request and MUST refresh the Session Context expiration upon completion of the NotificationWait.
The response headers include Set-Cookie headers, as specified in section 2.2.3.2.3, for all cookies related to the Session Context. The response also includes the Content-Length header, as specified in section 2.2.3.2.1, if the response is not chunked.