couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Sheehy <>
Subject Re: Default response is text/plain
Date Fri, 06 Feb 2009 17:57:53 GMT
Brian's patch is a decent try, but is not correct HTTP content-negotiation.

I wrote a short note on this topic today for a different reason.

For anyone unfamiliar: webmachine RESTs atop mochiweb.

I suggest that couchdb follow basically the same pattern.  If you don't
want to use webmachine directly, feel free to import the conneg code in
(choose_media_type/2) as it is Apache-2 licensed.


View raw message