[webkit-dev] how to map local file extension to the MIMEType
ddkilzer at webkit.org
Mon Jan 4 17:55:37 PST 2010
On Mon, January 4, 2010 at 5:19:46 PM, Fei Wang wrote:
> I define my own MIMEType like application/foo with file extension .foo. It works
> fine if I serve file through web server ( inside web server configuration, I add
> application/foo foo to the mime type map). In the webkit, I modify the
> MIMETypeRegistry.cpp file, add those MIMEType in. It works if I serve the file
> from webserver.
> But it does not work if I want to open the file xxx.foo locally.
> I use build-webkit script to build it in my mac. But if I want to open safari to
> open local file with .foo extension, it grey out that file.
> Does anyone know how to add customized MimeType with local file extension to the
More information about the webkit-dev