Hi, Currently, failing a validation function, returns 401 Unauthorized, which indicates the response has failed HTTP authentication. I think a more appropriate response code would be 422 Unprocessable Entity, given that validation is a domain-specific semantic problem.
http://wiki.apache.org/couchdb/Security_Features_Overview http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#4xx_Client_Error Cheers, Zach Zolton PS. Also, I don't think "Document Validation" belongs under the heading of "Security Features" on the wiki.
