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

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

From: Nicholas Zakas <nzakas@yahoo-inc.com>
Date: Thu, 2 Jun 2011 09:57:07 -0700
Message-ID: <B66541E954ECF146AD8CA69D34A283FF3AA7A43E6C@SP2-EX07VS02.ds.corp.yahoo.com>
I brought this up a while ago as well:
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-October/028868.html

Echoing Ilya: this is actually a very important feature because generally you don't want long-lived connections (HTTP streaming) and short-lived connections (web page requests) going through the same hosts.

-Nicholas
 
______________________________________________
Commander Lock: "Dammit Morpheus, not everyone believes what you believe!"
Morpheus: "My beliefs do not require them to."

-----Original Message-----
From: whatwg-bounces@lists.whatwg.org [mailto:whatwg-bounces@lists.whatwg.org] On Behalf Of ilya goberman
Sent: Wednesday, June 01, 2011 11:24 AM
To: whatwg at lists.whatwg.org
Subject: [whatwg] Enhancement request: change EventSource to allow cross-domain access


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.

I filed a request with WebKit bugzilla and they suggested to send it to you: https://bugs.webkit.org/show_bug.cgi?id=61862

The rationale and use cases are exactly the same as for XHR: it can be useful to access different domains.
Is support for EventSource cross domains planned at all? It is supposedly one of the most requested features, but I do not know how it is tracked.
Thanks

 		 	   		  
Received on Thursday, 2 June 2011 09:57:07 UTC

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