file(1) / magic(5) database vs shared-mime-info database

Kip Warner kip at thevertigo.com
Sun Feb 25 22:18:07 UTC 2018


On Sun, 2018-02-25 at 16:57 -0500, Liam R E Quin wrote:
> No, Apache has its own mechanism that mostly relies on filename
> conventions, as do most other Web servers.

Interesting. They probably also have different requirements where
sometimes the MIME type has to be detected quickly and purely based on
the file name before there is an opportunity to actually probe the
input stream.

-- 
Kip Warner | Senior Software Engineer
OpenPGP signed/encrypted mail preferred
https://www.cartesiantheatre.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/xdg/attachments/20180225/4bb3c78d/attachment.sig>


More information about the xdg mailing list