Add python-magic support
Opened this issue · 0 comments
cbarbour commented
It would be useful to support python-magic. The builtin mimetypes library determines type solely based on filename extension, and may fail if the file if the extension is somehow abnormal.
In our case, we have a fairly large static website generated from a dynamic site, and a number of files contain trailing get queries.