Re: [XHR] Content-Length header for data: URLs

On 9/19/13 4:47 PM, Hallvord Steen wrote:
> Hi,
> I see Gecko "fakes" a Content-Length header (visible to getAllResponseHeaders()) when you load a data: URL with XHR. This is wrong per the spec (which is explicitly requiring only a single Content-Type response header) but it looks more like a feature than a bug.. Should we spec it?

This was added in https://bugzilla.mozilla.org/show_bug.cgi?id=782342 
(and in particular due to 
<https://bugzilla.mozilla.org/show_bug.cgi?id=782342#c8>).

Is the spec treating blob: and data: differently here, or was that 
comment just wrong?

-Boris

Received on Friday, 20 September 2013 01:27:35 UTC