Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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.

share|improve this question
    
This sounds like a development question. Would it get a better response on stack overflow? –  g . Sep 11 '12 at 20:17
    
It's really a system configuration question, except for the part where I don't know which piece of the system to configure. :) As a developer, when I open a file URL, I'm told what OSX thinks its MIME type is. In that role, there's nothing I can do to influence the incoming information. (But, thanks, I may try S.O. just because there could be others there who have been in the same position.) –  Phillip Mills Sep 11 '12 at 20:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.