add note about how MIME types are detected

This commit is contained in:
Kovid Goyal
2022-12-03 08:35:58 +05:30
parent 0b293428c4
commit fa6527cdf3

View File

@@ -103,7 +103,8 @@ lines. The various available criteria are:
Useful if your system MIME database does not have definitions you need. This Useful if your system MIME database does not have definitions you need. This
file is in the standard format of one definition per line, like: file is in the standard format of one definition per line, like:
``text/plain rst md``. Note that the MIME type for directories is ``text/plain rst md``. Note that the MIME type for directories is
``inode/directory``. ``inode/directory``. MIME types are detected based on file extension, not
file contents.
``ext`` ``ext``
A comma separated list of file extensions, for example: ``jpeg, tar.gz`` A comma separated list of file extensions, for example: ``jpeg, tar.gz``