Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B87396B4 for ; Wed, 18 Apr 2012 12:14:16 +0000 (UTC) Received: (qmail 41269 invoked by uid 500); 18 Apr 2012 12:14:14 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 41230 invoked by uid 500); 18 Apr 2012 12:14:14 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 41220 invoked by uid 99); 18 Apr 2012 12:14:14 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2012 12:14:14 +0000 Received: from localhost (HELO mail-iy0-f180.google.com) (127.0.0.1) (smtp-auth username rnewson, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2012 12:14:14 +0000 Received: by iage36 with SMTP id e36so14165755iag.11 for ; Wed, 18 Apr 2012 05:14:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.42.19.72 with SMTP id a8mr316002icb.39.1334751253644; Wed, 18 Apr 2012 05:14:13 -0700 (PDT) Received: by 10.42.240.135 with HTTP; Wed, 18 Apr 2012 05:14:13 -0700 (PDT) In-Reply-To: References: Date: Wed, 18 Apr 2012 13:14:13 +0100 Message-ID: Subject: Re: If-Match revision From: Robert Newson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable CouchDB has supported If-Match for years. B. On 18 April 2012 13:02, Aur=E9lien B=E9nel wrote: > Hi everyone, > > I was reading RFC 2616 again, and I noticed the existence of the "If-Matc= h" header. > It seems to be the appropriate HTTP way to handle revision conflict detec= tion on both PUT and DELETE. > > Do you remember what was the design rationale for not using it to pass re= vision IDs to CouchDB? Are there any limitations with this header definitio= n? > > > Regards, > > Aur=E9lien > >