couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 7zark7 <7za...@gmail.com>
Subject Customize 404 response?
Date Tue, 20 Apr 2010 03:04:30 GMT
Hi,

I was wondering if there is a way to return html content for 404 errors, 
instead of the default json:

HTTP/1.1 404 Object Not Found
Server: CouchDB/0.11.0 (Erlang OTP/R13B)
Date: Tue, 20 Apr 2010 02:58:22 GMT
Content-Type: text/plain;charset=utf-8
Content-Length: 41
Cache-Control: must-revalidate

{"error":"not_found","reason":"missing"}


Thanks

Mime
View raw message