Looking at the code, it seems that the mimetype returned by the web server is ignored, but a "magic" module is used to identify the file type. Afaik, the mimetype returned by the server is usually good enough, and should be used if available.
Looking at the code, it seems that the mimetype returned by the web server is ignored, but a "magic" module is used to identify the file type.
Afaik, the mimetype returned by the server is usually good enough, and should be used if available.