11.01.2015 Views

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1<br />

2009-11-09T09:00:00.692Z<br />

<br />

<br />

<br />

<br />

Multipart Response<br />

At a high level, the multipart response consists of several key elements:<br />

•HTTP headers that specify the content type (HTTP 'Content-Type' header) of the multipart<br />

response: application/vnd.ms-sync.multipart.<br />

•Metadata consisting of a list of [integer, integer] tuples that specify the start and count of bytes,<br />

respectively, of each body part. The following is the format of the metadata:<br />

'Number of Parts :' <br />

'Part' ':' <br />

Range specifies a [start, count] value that indicates the start and count of bytes for each body part.<br />

There MUST be at least one tuple, pointing to the WBXML response.<br />

•The WBXML response, which contains status and application data for all requested items. The<br />

WBXML response is always the first part in the response. Items composed of binary content have<br />

a Part element (section 2.2.3.111) that indicates the index (base 0) of the body part that<br />

corresponds to that item in the multipart structure. This index is used by the client to find the<br />

appropriate [start, count] entry in the metadata.<br />

•Binary application data, which includes one or more binary data parts, the start and end byte of<br />

each of which is indicated in the WBXMLEX-Ranges header.<br />

The following figure shows the elements of the multipart response.<br />

[<strong>MS</strong>-<strong>ASCMD</strong>] — v20110315<br />

<strong>ActiveSync</strong> <strong>Command</strong> <strong>Reference</strong> <strong>Protocol</strong> <strong>Specification</strong><br />

Copyright © 2011 Microsoft Corporation.<br />

Release: Tuesday, March 15, 2011<br />

39 / 369

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!