MimeType
A MIME type, or media type, is a label that identifies the format and nature of a piece of data. It is typically written as type/subtype, with optional parameters. The term mimetype is commonly used as shorthand in programming contexts. MIME types are standardized and registered to help software understand how to process content, particularly in networking and email.
The type component is a broad category such as application, audio, image, text, video, multipart, font, or
MIME types are used in various protocols. In HTTP, the Content-Type header tells clients how to interpret
Registration and maintenance of MIME types are handled by the IANA MIME Media Types registry. New types
While MIME types aim to be precise, there is no universal mapping from file extensions to types.
Common examples include text/plain, text/html, application/json, image/jpeg, audio/mpeg, and video/mp4.