Re: XMLHttpRequest.responseXML returning null for non-XML MIME types

Geoffrey Garen wrote:
> Just to be clear, the widget loads a local file.

Then how does the file end up with a MIME type, exactly?

Note that the way Gecko does this is to flag network loads done from 
XMLHttpRequest as having a MIME type hint of application/xml; this type is used 
if the underlying network protocol doesn't provide MIME type information (which 
covers file:// loads in particular).

-Boris

Received on Friday, 29 June 2007 22:05:07 UTC