hytano opened a new issue #1485: DELETE database with invalid name returns 404 
NOT FOUND instead of 400 BAD REQUEST
URL: https://github.com/apache/couchdb/issues/1485
 
 
   DELETE http://127.0.0.1/_db 
   
   ## Expected Behavior
   
   Respons Status Code  400 BAD REQUEST 
   
   ## Current Behavior
   
   Respons Status Code 404 NOT FOUND
   
   `{
   "error": "not_found",
   "reason": "Database does not exist."
   }`
   
   ## Possible solution
   Return 400 BAD REQUEST or "adjust" documentation ;-) 
[http://docs.couchdb.org/en/2.1.2/api/database/common.html#delete--db](url)
   
   ## Setup
   
   CouchDB 2.1.2
   Windows 7

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to