private void VerifyConnectOrBindResponse(WebHeaderCollection headers)
{
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R1146");
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R1146
this.Site.CaptureRequirementIfIsFalse(
string.IsNullOrEmpty(headers["X-ClientInfo"]),
1146,
@"[In Creating a Session Context by Using the Connect or Bind Request Type] This information [X-ClientInfo header] is simply returned to the client in the response.");
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R1221");
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R1221
this.Site.CaptureRequirementIfIsFalse(
string.IsNullOrEmpty(headers["Set-Cookie"]),
1221,
@"[In Responding to a Connect or Bind Request Type Request] The server MUST return the cookie that represents the Session Context as the value of the Set-Cookie header field, as specified in section 2.2.3.2.3.");
}