You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by dj...@apache.org on 2013/05/19 13:31:23 UTC
[6/8] git commit: updated refs/heads/master to 947d116
Note the need for allowing CORS for EventSource feeds.
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/481912ae
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/481912ae
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/481912ae
Branch: refs/heads/master
Commit: 481912aea53456382ed7b14f09a4daca5fec4c5a
Parents: b90330c
Author: Dirkjan Ochtman <dj...@apache.org>
Authored: Sun May 19 13:02:32 2013 +0200
Committer: Dirkjan Ochtman <dj...@apache.org>
Committed: Sun May 19 13:30:37 2013 +0200
----------------------------------------------------------------------
share/doc/src/changes.rst | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/481912ae/share/doc/src/changes.rst
----------------------------------------------------------------------
diff --git a/share/doc/src/changes.rst b/share/doc/src/changes.rst
index 758b88b..70f4ab0 100644
--- a/share/doc/src/changes.rst
+++ b/share/doc/src/changes.rst
@@ -211,4 +211,10 @@ specification`_ for further details.
// stop listening for events
source.removeEventListener('message', sourceListener , false);
+.. note::
+
+ EventSource connections are subject to cross-origin resource sharing
+ restrictions. You might need to use the experimental :ref:`CORS support
+ <cors>` to get the EventSource to work in your application.
+
.. _W3C eventsource specification: http://www.w3.org/TR/eventsource/