W3C home > Mailing lists > Public > public-webapi@w3.org > June 2007

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 29 Jun 2007 17:04:53 -0500
Message-ID: <46858205.1040905@mit.edu>
To: Geoffrey Garen <ggaren@apple.com>
CC: public-webapi@w3.org

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).

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:23 UTC