Frage

According to MDN:

Note: Although it's not yet part of the standard, EventSource supports CORS in Firefox 11 and later. This is expected to become standard soon.

Does anybody know the current status of this? Is this still true? What about Chrome?

War es hilfreich?

Lösung

I did some experiments, and as it seems, server-sent events do work on current versions of Chrome, Firefox and Safari out of the box with CORS :-).

I did not test Opera, and I did not test Internet Explorer (which, according to CanIUse) is not capable of server-sent events.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top