couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zachary Zolton <zachary.zol...@gmail.com>
Subject Validation HTTP Response Code
Date Wed, 13 May 2009 15:28:02 GMT
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.

Mime
View raw message