W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2011

[whatwg] Enhancement request: change EventSource to allow cross-domain access

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 17 Jun 2011 19:57:59 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1106171925190.19153@ps20323.dreamhostps.com>
On Wed, 1 Jun 2011, ilya goberman wrote:
> 
> Can EventSource be enhanced to support cross-domain requests via 
> "Access-Control-Allow-Origin" header, just like it is already done for 
> XHR? See 
> http://en.wikipedia.org/wiki/XMLHttpRequest#Cross-domain_requests.

Done.


On Wed, 1 Jun 2011, Jonas Sicking wrote:
> 
> We should probably consider adding the ability to specify if you want 
> the request to happen with or without credentials (and default to the 
> safe option which is without credentials).

Why?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 17 June 2011 12:57:59 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:06 UTC