couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shorin <kxe...@gmail.com>
Subject Re: Views return content type plain text
Date Wed, 04 Sep 2013 23:48:38 GMT
Checkout request's Accept header. It should have `application/json`
value to let CouchDB make response with the same content type. In case
of wildcard or missed accept CouchDB always returns text/plain
response.
--
,,,^..^,,,


On Thu, Sep 5, 2013 at 3:43 AM, Stanley Iriele <siriele2x3@gmail.com> wrote:
> Hey all,
>
> Is there any particular reason couchdb views return content type.
> Text/plain. Instead of application json. Even though they always return
> json. .it's not  blocking anything....I've just been wondering this for a
> while now,
>
> Regards,
>
> Stanley

Mime
View raw message