couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson" <jch...@apache.org>
Subject Re: status code for invalid database names
Date Sat, 01 Nov 2008 17:57:29 GMT
On Sat, Nov 1, 2008 at 9:43 AM, Noah Slater <nslater@apache.org> wrote:
> 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
>

+1 thanks


-- 
Chris Anderson
http://jchris.mfdz.com

Mime
View raw message