Lably
Skip to content

Media type

Identifier for file formats

  • 7 min read
  • 4 chapters

Related on Lably

Through Information and communications technology, File format and Internet

The Internet Assigned Numbers Authority (IANA) is the official authority for the standardization and publication of these classifications. Media types were originally defined in Request for Comments RFC 2045, Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies, in November 1996 as part of the MIME specification, for denoting type of email message content and attachments; hence the original name, MIME type. Media types are also used by other internet protocols such as HTTP, document file formats such as HTML, and the XDG specifications implemented by Linux desktop environments, for similar purposes.

Terminology

Different internet standards or web standards bodies differ on the preferred term for this type of identifier.

The IANA and IETF use the term "media type", and consider the term "MIME type" to be obsolete, since media types have become used in contexts unrelated to email, such as HTTP. By contrast, the WHATWG continues to use the term "MIME type" and discourages use of the term "media type" as ambiguous, since it is used with a different meaning in connection with the CSS @media feature.

The HTTP response header for providing the media type is Content-Type. The W3C has used ContentType as an XML data-type name for a media type. XDG specifications implemented by Linux desktop environments continue to use the term "MIME type".

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Computing and communication