couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zachary Zolton <zachary.zol...@gmail.com>
Subject Re: JSONView to the rescue
Date Fri, 30 Oct 2009 14:55:18 GMT
Yeah, I checked that accept header option and it's not working for me
either...   :^(

On Fri, Oct 30, 2009 at 8:56 AM, Nils Breunese <n.breunese@vpro.nl> wrote:
> Vlad GURDIGA wrote:
>
>>> You can also just go the add-on's preferences and enable adding
>>> application/json to the accept header. :o)
>>
>> That did not work for me because CouchDB responds with Content-Type:
>> text/plain;charset=utf-8, this is why I came up with the JSONView +
>> patch...
>
> That's strange. If you send an accept header for JSON, then CouchDB should
> respond with JSON (not text/plain). Works for me.
>
> Nils Breunese.
>

Mime
View raw message