W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2013

Re: [whatwg] Fetch: Origin header

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 6 Mar 2013 15:21:26 +0000
Message-ID: <CADnb78jFsPcL2j85uSFEh=dPJjYYump5GjWw=eHUSpGbEo8xHQ@mail.gmail.com>
To: WHATWG <whatwg@whatwg.org>
On Wed, Mar 6, 2013 at 2:46 PM, Anne van Kesteren <annevk@annevk.nl> wrote:
> So HTML's "potentially CORS-enabled fetch" is incompatible with XMLHttpRequest.

Turns out the wonderful browsers are not implementing XMLHttpRequest!
So XMLHttpRequest could do the same as HTML's "potentially
CORS-enabled fetch" I think.

http://dump.testsuite.org/fetch/xhr.html

Unless PHP does not expose Origin under HTTP_ORIGIN in $_SERVER as one
would expect...


-- 
http://annevankesteren.nl/
Received on Wednesday, 6 March 2013 15:21:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 6 March 2013 15:21:52 GMT