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 "HTTP Document API" by ChrisAnderson
Date Mon, 22 Dec 2008 05:28:28 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 ChrisAnderson:
http://wiki.apache.org/couchdb/HTTP_Document_API

The comment on the change is:
fixed up rev conflict docs

------------------------------------------------------------------------------
  And here is the server's response if there is an update conflict (what is currently stored
in the database is not revision ''946B7D1C'' of document ''some_doc_id'').
  
  {{{
- HTTP/1.1 409 CONFLICT
+ HTTP/1.1 412 Precondition Failed
  Date: Thu, 17 Aug 2006 05:39:28 +0000GMT
  Content-Length: 33
  Connection: close
  
- {"error":{"id":"conflict","reason":"3073715634"}}
+ {"error":"conflict","reason":"Document update conflict."}
  }}}
  
  === POST ===

Mime
View raw message