6 ms·It uses the shared mime database, which in turn relies on both file type and content to detect the mime.by chmln 5y agoIt uses the shared mime database, which in turn relies on both file type and content to detect the mime.