couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "HttpDatabaseApi" by ShaharEvron
Date Sun, 06 Jul 2008 21:50:02 GMT
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

Mime
View raw message