| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MIME Content-Type Header and Discrete Media: Types, Subtypes and Parameters (Page 2 of 5) Discrete Media Types and Subtypes As I mentioned in the preceding topic, MIME supports two basic structures: simple or complex. A simple message carries only one media type, such as a piece of text, a picture or an executable file. These are called discrete media types in MIME. A complex message carries a composite media type, which may incorporate multiple body parts. Each body part in turn carries data corresponding to one of the discrete media types. The top-level media type indicates whether the whole message carries a discrete media type or a composite type; I will describe the discrete media types here; the composite types are discussed in the next topic. The RFC 2046 standard (part two of the set of five standards that describes MIME) defines five discrete top-level media types: text, image, audio, video and application; they each represent one of the major classes of data commonly transmitted over TCP/IP. Each of these has one or more subtypes, and some also have parameters that are used to provide more information about them. The creators of MIME recognized that the standard could not describe every media type, and that new ones would be created in the future. RFC 2048 (part four of the five-standard MIME set) describes the process by which new media types, subtypes and parameters can be described and registered with the Internet Assigned Numbers Authority (IANA). Thus far, only one new top-level media type has been created; this is the model top-level type, defined for CAD modeling files and similar uses, as described in RFC 2077. However, many dozens of new subtypes have been created over the years, some specified in RFCs and others just registered directly with IANA. This includes many vendor-specific subtypes, which are usually identified by either the prefix x- or vnd. in the subtype name.
Home - Table Of Contents - Contact Us The TCP/IP Guide (http://www.TCPIPGuide.com) Version 3.0 - Version Date: September 20, 2005 © Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved. Not responsible for any loss resulting from the use of this site. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||