[whatwg] Fetch: Origin header

Anne van Kesteren annevk at annevk.nl
Wed Mar 6 07:21:26 PST 2013


On Wed, Mar 6, 2013 at 2:46 PM, Anne van Kesteren <annevk at 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/



More information about the whatwg mailing list