b0wter edited a comment on issue #2246:
URL: https://github.com/apache/couchdb/issues/2246#issuecomment-878587824


   After reading the documentation it seemed logical to me that the api should 
return "400 - database name invalid" because otherwise it would not have been 
specified in the documentation since it will never be returned. 
   
   After checking more parts of the `/{db}` documentation it seems to me that 
the return codes/reasons are the same for all http methods and make perfect 
sense for `put` but not the other methods.
   Usually I would not have noticed but I am writing a CouchDB client and use 
the documentation to define my integration tests.
   
   I'll close this issue and will put up a pr for an update of the 
documentation and see where that goes. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to