3.3.5.9 Processing a Media Type List Response

The structure and fields of the Media Type List Response message are specified in section 2.2.3.8.

After receiving this message, the server calculates the number of MEDIA_TYPE_DESCRIPTION (section 2.2.3.8.1) structures it contains by subtracting the size of the SHARED_MSG_HEADER (section 2.2.1) structure from the size of the message and dividing the result by the size of the MEDIA_TYPE_DESCRIPTION structure. Next, it iterates over each MEDIA_TYPE_DESCRIPTION structure and stores the information to be used by applications.

Malformed and out-of-sequence messages are handled as specified in section 3.3.5.