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 "HttpDocumentApi" by PeterHoffmann
Date Wed, 24 Sep 2008 16:53:55 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 PeterHoffmann:
http://wiki.apache.org/couchdb/HttpDocumentApi

The comment on the change is:
etag header field If-Match

------------------------------------------------------------------------------
  {{{
  DELETE /somedatabase/some_doc?rev=1582603387 HTTP/1.0
  Date: Thu, 17 Aug 2006 05:39:28 +0000GMT
+ }}}
+ 
+ As an alternative you can submit the ''rev'' parameter with the etag header field ''If-Match''.
+ {{{
+ DELETE /somedatabase/some_doc HTTP/1.0
+ Date: Thu, 17 Aug 2006 05:39:28 +0000GMT
+ If-Match: "1582603387"
  }}}
  
  And the response:

Mime
View raw message