Media type

In information and communications technology, a media type,[1][2] content type[2][3] or MIME type[1][4][5] is a two-part identifier for file formats and content formats. Their purpose is comparable to filename extensions and uniform type identifiers, in that they identify the intended data format. They are mainly used by technologies underpinning the Internet, and also used on Linux desktop systems.

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 (MIME) Part One: Format of Internet Message Bodies (Nov 1996) in November 1996 as a part of the MIME (Multipurpose Internet Mail Extensions) specification, for denoting type of email message content and attachments;[6] hence the original name, MIME type. Media types are also used by other internet protocols such as HTTP,[7] document file formats such as HTML,[8] and the XDG specifications implemented by Linux desktop environments,[5] for similar purposes.

  1. ^ a b "Media Types". IANA. IANA. 4 June 2018. Retrieved 5 June 2018. [RFC2046] specifies that Media Types (formerly known as MIME types) and Media Subtypes will be assigned and listed by the IANA.
  2. ^ a b Cite error: The named reference rfc9110section8-3-1 was invoked but never defined (see the help page).
  3. ^ Cite error: The named reference xhtmldatatypes was invoked but never defined (see the help page).
  4. ^ Cite error: The named reference whatwgterminology was invoked but never defined (see the help page).
  5. ^ a b "shared-mime-info-spec". freedesktop.org. 2023-09-03.
  6. ^ Freed, N.; Borenstein, N. (November 1996). "Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies". Internet Engineering Task Force. Retrieved 15 July 2015.
  7. ^ Nielsen, Henrik; Fielding, Roy T.; Berners-Lee, Tim (May 1996). "Hypertext Transfer Protocol -- HTTP/1.0". Retrieved 2 Feb 2017.
  8. ^ "HTML 4.01 Specification". 24 Dec 1999. Retrieved 2 Feb 2017.