couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Newson (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (COUCHDB-1195) /_config sends Content-Type text/plain
Date Wed, 15 Jun 2011 11:48:47 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Newson resolved COUCHDB-1195.
------------------------------------

    Resolution: Not A Problem

_config, like all JSON emitting endpoints in couchdb, uses content type negotiation to determine
the response Content-Type header.

Your request needs an "Accept: application/json" header to get the response header you desire.

> /_config sends Content-Type text/plain
> --------------------------------------
>
>                 Key: COUCHDB-1195
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1195
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: 1.1
>            Reporter: Dirkjan Ochtman
>
> In CouchDB 1.1, it appears that /_config, despite being in JSON, is sent as text/plain.
This is bad.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message