On Thu, Feb 10, 2005 at 12:09:25AM -0800, naltrexone wrote:
> Yet still, when I click on a file of type .foo from a server that
> doesn't serve it as MIME type 'application/x-foo', Firefox asks what to
> do with it rather than invoking the extension.

Hm... what does
Components.classes["@mozilla.org/mime;1"].getService().nsIMIMEService.getTypeFromExtension(".foo")
return?

Also, the category entry may need a leading dot.

-- 
_______________________________________________
Mozilla-netlib mailing list
Mozilla-netlib@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to