[ 
https://issues.apache.org/jira/browse/COUCHDB-2665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15244747#comment-15244747
 ] 

ASF subversion and git services commented on COUCHDB-2665:
----------------------------------------------------------

Commit f9cd1d9eb9ed26f7275c33c38623d0a50e9ac44d in couchdb-global-changes's 
branch refs/heads/2665-db-updates-eventsource from [~janl]
[ 
https://git-wip-us.apache.org/repos/asf?p=couchdb-global-changes.git;h=f9cd1d9 ]

enable feed=eventsource for /_db_updates

The fix is adding `eventsource` to the allowed options to
/_db_updates?feed=eventsource, since the underlying implementation
is a global database’s _changes feed.

Closes COUCHDB-2665


> Regression: /_db_updates lost eventsource feed support
> ------------------------------------------------------
>
>                 Key: COUCHDB-2665
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2665
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Alexander Shorin
>            Assignee: Alexander Shorin
>            Priority: Blocker
>              Labels: needs-pr, regression
>             Fix For: 2.0.0
>
>
> {code}
> 2015-04-18 15:18:18.434 [debug] [email protected] <0.1811.0> httpd 400 error 
> response:
>  {"error":"bad_request","reason":"Supported `feed` types: normal, continuous, 
> longpoll"}
> 2015-04-18 15:18:18.435 [notice] [email protected] <0.1811.0> 0305bb11 
> 127.0.0.1 localhost:15984 GET 
> /_db_updates?heartbeat=false&feed=eventsource&timeout=1000 400 ok 2
> {code}
> Which was 
> [available|https://github.com/apache/couchdb/blob/1.6.x/src/couch_dbupdates/src/couch_dbupdates_httpd.erl#L50-L55]
>  in 1.6.1.



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

Reply via email to