[ 
https://issues.apache.org/jira/browse/COUCHDB-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Lehnardt closed COUCHDB-100.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9

Fixed in trunk as of r683704.

> DELETE on non-existent DB now returns 500 instead of 404
> --------------------------------------------------------
>
>                 Key: COUCHDB-100
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-100
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>    Affects Versions: 0.9
>         Environment: trunk @ 682809
>            Reporter: Adam Kocoloski
>             Fix For: 0.9
>
>
> Previously (0.8.0), a DELETE request on a non-existent DB would return a 404 
> status code and the message
> {"error":"not_found","reason":"missing"}
> Today's trunk now returns a 500 status code and the message
> {"error":"error","reason":"not_found"}
> This breaks the test suite as it's currently written, since the deleteDb() 
> function expects a 404 or 200 status code and will raise an exception if 
> anything else is encountered.  To reproduce, run the test suite without 
> creating the "test_suite_db" beforehand (or delete it if it exists).

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

Reply via email to