incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zsolt Czinkos <czin...@gmail.com>
Subject return custom http status from Document Update Handlers
Date Fri, 03 Sep 2010 12:52:05 GMT
Hello

Can I return custom HTTP status from document update handlers?

If I return "[null, 'Something bad happened.']", status 200 returned.
If I throw an error, then status 500 returned. What if I'd like to
return a 4xx status?


Thanks for your patience.

Zsolt

Mime
View raw message