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

Liam R E Quin <[email protected]>
Newsgroups gmane.linux.xdg.devel
Message-ID <[email protected]>
On Sun, 2018-02-25 at 13:51 -0800, Kip Warner wrote:
> Out of curiosity though, what about in the web world where php(1) or
> some other ensemble of tools used to serve browser scripts need to
> check MIME types? At this time I think they probably all rely on
> file(1) and its API?

No, Apache has its own mechanism that mostly relies on filename
conventions, as do most other Web servers.

Liam


-- 
Liam Quin, W3C, http://www.w3.org/People/Quin/
Staff contact for Verifiable Claims WG, SVG WG, XQuery WG
Improving Web Advertising: https://www.w3.org/community/web-adv/
Personal: awesome vintage art: http://www.fromoldbooks.org/
_______________________________________________
xdg mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/xdg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.