couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nils Breunese <>
Subject Re: JSONView to the rescue
Date Fri, 30 Oct 2009 13:56:03 GMT
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.

View raw message