couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <>
Subject Re: Please allow _prefix for auto-created _id
Date Sat, 07 Mar 2009 23:38:39 GMT

On 8 Mar 2009, at 00:22, Antony Blakey wrote:

> On 08/03/2009, at 4:41 AM, Chris Anderson wrote:
>> Currently it's recommended not to POST new documents without ids to
>> CouchDB. Due to HTTP protocol issues this can result in duplicate
>> document creation.
> I've never really understood this. Wouldn't it mean that all POST  
> operations in CouchDB need to be made idempotent by the server  
> because they might be erroneously repeated by middleware?

Correct, a bug in Safari / CFNetwok brought this up.

> Given that POSTing to a collection, resulting in a response with a  
> Location header is a fundamental part of the REST model, how do  
> other REST APIS deal with this problem?
and more here:


View raw message