couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-117) HTTP status code when recreating a database
Date Sun, 07 Sep 2008 14:34:44 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628974#action_12628974
] 

Chris Anderson commented on COUCHDB-117:
----------------------------------------

Thanks Michael,

This is the best place to put these patches. Expect a patch-application frenzy next week.


> HTTP status code when recreating a database
> -------------------------------------------
>
>                 Key: COUCHDB-117
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-117
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface, Test Suite
>    Affects Versions: 0.9
>         Environment: Mac OS X 10.4.11
>            Reporter: Michael Hendricks
>            Priority: Minor
>         Attachments: 0001-Status-code-when-creating-a-database-twice.patch
>
>
> If one accidentally tries to create a database when a database by that name already exists,
CouchDB trunk (tested at revision 691322) responds with a 500 status code.  In slightly older
versions of the trunk, the response code was 409 and the error message helpfully indicated
that a database by that name already exists.
> I'll attach a patch that restores the 409 code and error message.  I submitted this patch
to the developer's mailing list on August 23rd.  It appears not to have been noticed by the
core developers, so I'm re-posting it here.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message