MIME types: description and list of basic

Initially, MIME types were designed to transmit data other than text. Actually it was for email. For example, to transfer a picture, through its protocol, the MIME type was used, which reports that, for example, a JPEG file is being transmitted.

The development of technology and its appearance

MIME types are actively used for data transfer in the HTTP protocol. In simple terms, it describes the additional attributes of a forwarded packet and supports the ability to implement the transfer of multiple files, even nested within one message. In order to inform the recipient of what type of file is being transferred, and, accordingly, how to work with it, its MIME type is added to the header. For example, plain text is labeled text / plain, and electronic pages are labeled text / html.

Why do you need to know about MIME?

, MIME, - , , . .

mime types




- . PDF. MIME : application/pdf. , , , PDF-. , . , .





MIME-

, MIME, . . , , .

text

, , , . , , . :

  • Html. . .
  • Css. . .
  • Javascript. , , - .
  • Plain. .
  • Xml. XML.

mime type




image

, :

  • gif;
  • jpeg;
  • tiff.

application

, , , , - . .





  • Json. . , json.
  • Pdf. , , .
  • Zip gzip. .
  • Ogg. .
  • Xhtml+xml. XHTML, HTML, XML .

list of mime types




audio

:

  • Basic. .
  • Aac. .
  • Mpeg. mp3 mpeg.
  • X-ms-wma x-ms-wax. Windows Media Audio.
  • Webm. , Google. .

X

X- application. . , , tar, RAR, FLASH , .

MIME type , . RFC, MIME.




All Articles