W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

Re: data and blob URLs in HTTP context

From: Julian Reschke <julian.reschke@gmx.de>
Date: Wed, 15 Feb 2012 13:45:07 +0100
Message-ID: <4F3BA8D3.6090002@gmx.de>
To: Anne van Kesteren <annevk@opera.com>
CC: WebApps WG <public-webapps@w3.org>
On 2012-02-15 13:13, Julian Reschke wrote:
> On 2012-02-15 11:04, Anne van Kesteren wrote:
>> On Sun, 05 Feb 2012 17:30:09 +0100, Julian Reschke
>> <julian.reschke@gmx.de> wrote:
>>> On 2012-02-05 15:56, Anne van Kesteren wrote:
>>>> Currently Opera and Firefox seem to support data URLs within the
>>>> context
>>>> of XMLHttpRequest. Status is 0, status text is the empty string, there
>>>> are no response headers, and response-related attributes work as
>>>> expected.
>>>> ...
>>>
>>> No Content-Type response header?
>>
>> As far as I can tell, no.
>
> Well, data URIs come with a content type, so when XHR supports them,
> this header field should be made available...
>
> Best regards, Julian

Can't get it to work in Firefox 10 (Error: uncaught exception: 
[Exception... "Access to restricted URI denied"  code: "1012" nsresult: 
"0x805303f4 (NS_ERROR_DOM_BAD_URI)"  location: 
"http://greenbytes.de/tech/webdav/data.html Line: 8"]).

Opera does support it, but doesn't return the type. I would suggest to 
treat that as a bug.

Best regards, Julian
Received on Wednesday, 15 February 2012 12:45:40 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:50 GMT