MIME Types

Lecture



MIME types are used to identify the type of content. Thanks to this, applications will be able to determine what kind of data is sent and in which correspondence of the network to process it. A list of all the MIME types supported by your system is in the /etc/mime.types file (Linux) and in C: \ Program Files \ Apache Group \ Apache \ conf (Windows system). The MIME type is specified in the type / subtype format. Here are the basic MIME types:

  • application - the application (program or document associated with the program). For example, application / rtf;
  • audio - audio file (audio / mpeg);
  • image - graphic file (image / png);
  • text - text (text / html - in HTML format, text / plain - plain).

MIME - the type of data sent over the network is indicated in the Content-type header.

created: 2016-01-25
updated: 2021-03-13
132408



Rating 9 of 10. count vote: 2
Are you satisfied?:



Comments


To leave a comment
If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Running server side scripts using PHP as an example (LAMP)

Terms: Running server side scripts using PHP as an example (LAMP)