couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien Bénel <>
Subject Re: couchdb and extjs problems accepting json
Date Thu, 12 Aug 2010 07:39:11 GMT
>> I just noticed (on CouchDB 1.0.0) that views return "Content-Type: text/plain;charset=utf-8"...
even when "Content-Type: application/json" was in the GET request.
> This is only true if you don't set the correct accept header:
> curl -v -H "Accept: application/json" http://localhost:5984/test/_design/foo/_view/bar

True. Sorry. I suppose the REST client I use has a buggy cache.


View raw message