You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Sebastian Rothbucher (JIRA)" <ji...@apache.org> on 2015/10/17 17:57:05 UTC

[jira] [Created] (COUCHDB-2858) Last-Event-ID not working on cluster

Sebastian Rothbucher created COUCHDB-2858:
---------------------------------------------

             Summary: Last-Event-ID not working on cluster
                 Key: COUCHDB-2858
                 URL: https://issues.apache.org/jira/browse/COUCHDB-2858
             Project: CouchDB
          Issue Type: Bug
      Security Level: public (Regular issues)
            Reporter: Sebastian Rothbucher


req = CouchDB.request("GET", "/" + db_name + "/_changes?feed=eventsource&timeout=0&since=0",
-        {"headers": {"Accept": "text/event-stream", "Last-Event-ID": "2"}});		+        {"headers": {"Accept": "text/event-stream", "Last-Event-ID": JSON.stringify(JSON.parse(req.responseText).results[1].seq)}});

filling Last-Event-ID with a "complex" Seq yields an error

from changes.js test case



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)