4 ms·
How does it decide what mime-type a file has?
How does it decide what mime-type a file has?
Doesn't seem like it does. You set it yourself.
It uses the shared mime database, which in turn relies on both file type and content to detect the mime.