[whatwg] Fetch: crossorigin="anonymous" and XMLHttpRequest

Jonas Sicking jonas at sicking.cc
Wed Mar 20 23:18:08 PDT 2013


On Wed, Mar 20, 2013 at 2:31 PM, Anne van Kesteren <annevk at annevk.nl> wrote:
> > That said, allowing both anonymous and non-anonymous requests to do
> > xhr.setRequestHeader("referer", "") might be a good idea. I.e. being
> > able to set it explicitly to the empty string.
>
> Okay.
>
> Does anonymous also mean not handling 401 by prompting the user?

I think so yes.

> What about 407?

The fact that there's a proxy that the user needs to log in to should
never be exposed to the platform I would think. Nor should the
platform be able to affect how the user interacts with such a proxy.

/ Jonas



More information about the whatwg mailing list