couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Helmberger <sven.helmber...@gmx.de>
Subject Re: JSONView to the rescue
Date Sat, 31 Oct 2009 08:22:04 GMT
Zachary Zolton wrote:
> 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.
>>
works for me, too. I just needed to make sure it's seeing loading a new 
document because the old, unJSONiprettified one was still in cache.

Mime
View raw message