Internet media type

An Internet media type,[1] originally called a MIME type after MIME (Multipurpose Internet Mail Extensions) and sometimes a Content-type after the name of a header in several protocols whose value is such a type, is a two-part identifier for file formats on the Internet. The identifiers were originally defined in RFC 2046 for use in email sent through SMTP, but their use has expanded to other protocols such as HTTP, RTP and SIP.

A media type is composed of at least two parts: a type, a subtype, and one or more optional parameters. For example, subtypes of text have an optional charset parameter that can be included to indicate the character encoding (E.g.: text/html; charset=UTF-8), and subtypes of multipart type often define a boundary between parts. Allowed charset values are defined in the list of IANA character sets.

Types or subtypes that begin with x- are non-standard[2] (they are not registered with IANA). Subtypes that begin with vnd. are vendor-specific[3]; subtypes in the personal or vanity tree begin with prs..[4]

MIME is short for Multipurpose Internet Mail Extensions, a specification for formatting non-ASCII messages so that they can be sent over the Internet. Many email clients now support MIME, which enables them to send and receive graphics, audio, and video files via the Internet mail system.

There are many predefined media types, such as GIF graphics files and PostScript files. It is also possible to define custom media types.

In addition to email applications, web browsers also support various media types. This enables the browser to display or output files that are not in HTML format. Media type specification is also an important information for search engines for the classification of data files on the web.

MIME was defined in 1992 by the Internet Engineering Task Force (IETF). A new version, called S/MIME, supports encrypted messages.

Contents

List of common media types

IANA manages a registry of media types and character encodings. The organization makes a list available to the public through the Web. Some of the more notable media types used on the Web are listed below:

Type application

For Multipurpose files.

Type audio

For Audio.

Type image

Type message

Type model

For 3D models.

Type multipart

For archives and other objects made of more than one part.

Type text

For human-readable text and source code.

Type video

For video.

Type vnd

For vendor-specific files.

Type x

For non-standard files.

Type x-pkcs

For PKCS standard files.

See also

References

External links