You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2008/07/06 23:50:02 UTC

[Couchdb Wiki] Update of "HttpDatabaseApi" by ShaharEvron

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by ShaharEvron:
http://wiki.apache.org/couchdb/HttpDatabaseApi

The comment on the change is:
Changed DELETE success code to 200 to reflect working code. See COUCHDB-89

------------------------------------------------------------------------------
  
  To delete a database, perform a DELETE operation at the database location.
  
- On success, HTTP status ''202'' is returned. If the database doesn't exist, a ''404'' error is returned.
+ On success, HTTP status ''200'' is returned. If the database doesn't exist, a ''404'' error is returned.
  
  {{{
  DELETE /somedatabase/ HTTP/1.0
@@ -86, +86 @@

  Here is the server's response:
  
  {{{
- HTTP/1.1 202 OK
+ HTTP/1.1 200 OK
  Date: Thu, 17 Aug 2006 05:39:28 +0000GMT
  Content-Length: 67
  Content-Type: application/json