couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-2562) Wrong Content-Type for continuous changes feed
Date Fri, 06 Mar 2015 18:20:39 GMT


ASF GitHub Bot commented on COUCHDB-2562:

Github user kxepal commented on the pull request:
    +1 in general.
    Btw, in light of [COUCHDB-2562]( how
do you feel is "stream" feed type is good one or there could be something better?

> Wrong Content-Type for continuous changes feed
> ----------------------------------------------
>                 Key: COUCHDB-2562
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>            Reporter: Nathan Vander Wilt
> When a client requests a continuous changes feed and includes an "Accept: application/json"
header, the response comes back as "Content-Type: application/json" even though the content
is not parseable as JSON.
> I think the proper thing to do in this specific case is to respond with "406 Not Acceptable",
or if this is considered too extreme and HTTP allows it, proceed anyway but claim "Content-Type:
application/x-ldjson" instead (see
> This is an issue that some acknowledged as a bug during the discussion on
but didn't get its own ticket.

This message was sent by Atlassian JIRA

View raw message