incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah Slater <nsla...@apache.org>
Subject Re: status code for invalid database names
Date Sat, 01 Nov 2008 16:43:44 GMT
On Sat, Nov 01, 2008 at 10:19:57AM -0600, Michael Hendricks wrote:
> 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.

+1

-- 
Noah Slater, http://bytesexual.org/nslater

Mime
View raw message