couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Shorin (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-2562) Wrong Content-Type for continuous changes feed
Date Fri, 30 Jan 2015 19:55:34 GMT


Alexander Shorin commented on COUCHDB-2562:

A bit better reference: ||
Sounds good for me.

> 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