Are you saying it's possible to use 'data:' requests with XHR? What's
the sense for this? The data is already on the client...

2013/9/19 Hallvord Steen <[email protected]>:
> 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?
>
> Test: 
> http://w3c-test.org/web-platform-tests/master/XMLHttpRequest/data-uri-basic.htm
>  (subtest getAllResponseHeaders())
> Current spec text: 
> http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#data:-urls-and-http
> -Hallvord R
>



-- 
"Si quieres viajar alrededor del mundo y ser invitado a hablar en un
monton de sitios diferentes, simplemente escribe un sistema operativo
Unix."
– Linus Tordvals, creador del sistema operativo Linux

Reply via email to