Microsoft.Protocols.TestSuites.MS_OXCMAPIHTTP.MS_OXCMAPIHTTPAdapter.VerifyNotificationWaitRequestType C# (CSharp) Method

VerifyNotificationWaitRequestType() private method

Verify the NotificationWait Request Types related requirements.
private VerifyNotificationWaitRequestType ( WebHeaderCollection headers ) : void
headers System.Net.WebHeaderCollection The headers to be verified.
return void
        private void VerifyNotificationWaitRequestType(WebHeaderCollection headers)
        {
            // Add the debug information
            this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R1261");

            // Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R1261
            this.Site.CaptureRequirementIfIsFalse(
                string.IsNullOrEmpty(headers["Set-Cookie"]),
                1261,
                @"[In Responding to a NotificationWait Request Type Request] The response headers include Set-Cookie headers as specified in section 2.2.3.2.4 for all cookies related to the Session Context.");

        }
        #endregion
MS_OXCMAPIHTTPAdapter