When a local file is opened in Safari or -- more important to my situation -- a custom application that uses a WebView for display, what decides on the MIME type to associate with the resulting file URL?
I see that there are MIME registration files associated with Apache and CUPS but experiments seem to show that neither of those is used for direct file access.