Re: data and blob URLs in HTTP context

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 UTC