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

Ian Hickson ian at hixie.ch
Fri Jun 17 12:57:59 PDT 2011


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.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list