Internet media type

From Wiki @ Karl Jones dot com
Revision as of 10:55, 4 February 2016 by Karl Jones (Talk | contribs)

Jump to: navigation, search

An Internet media type is a standard identifier used on the Internet to indicate the type of data that a file contains.

Description

Common uses for Internet media types include:

A media type is composed of a type, a subtype, and zero or more optional parameters (see Parameter (computing)).

For example, an HTML file might be designated:

text/html; charset=UTF-8

In this example text is the type, html is the subtype, and charset=UTF-8 is an optional parameter indicating the character encoding.

Official registry

The IANA manages the official registry of media types.

The identifiers were originally defined in RFC 2046, and were called MIME types because they referred to the non-ASCII parts of email messages that were composed using the MIME (Multipurpose Internet Mail Extensions) specification. They are also sometimes referred to as Content-types.

Protocols supported

Their use has expanded from email sent through SMTP, to other protocols such as HTTP, RTP and SIP.

See also

External links