4.5 Disconnect from the Server
This scenario describes disconnecting from server. The client passes the session context cookie to the server as described in section 3.1.5.4. The server responds as described in section 3.2.5.4.
Client request
-
POST <Autodiscover-provided endpoint> HTTP/1.1 Host: <URL of the host server> Content-Length: <length of REQUEST BODY> Content-Type: application/mapi-http Cookie: <session context cookie>=<opaque string> Cookie: <request sequence cookie>=<opaque string> X-RequestType: Disconnect X-ClientInfo: <opaque string> X-RequestId: <unique identifier> X-ClientApplication: <client version> < REQUEST BODY>
Server response
-
HTTP/1.1 200 OK Content-Length: <length of META-TAGS, ADDITIONAL HEADERS and RESPONSE BODY> Content-Type: application/mapi-http X-RequestType: Disconnect X-RequestId: <unique identifier> X-ResponseCode: 0 X-ClientInfo: <opaque string> X-ServerApplication: <server version> X-ExpirationInfo: <milliseconds> <CRLF> PROCESSING<CRLF> DONE<CRLF> X-ResponseCode: 0<CRLF> X-ElapsedTime: <milliseconds> X-StartTime: <date/time> <CRLF> <RESPONSE BODY>