incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Hendricks <mich...@ndrix.org>
Subject status code for invalid database names
Date Sat, 01 Nov 2008 16:19:57 GMT
Currently, CouchDB returns a 500 status code when trying to create a
database with an invalid name (like "12345").  Shouldn't that be a 400
status code ("Bad Request") since the error really lies with the
client and not the server?

If others agree, I'll submit a patch.

-- 
Michael

Mime
View raw message