Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 5806 invoked from network); 11 May 2009 20:57:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 May 2009 20:57:03 -0000 Received: (qmail 20075 invoked by uid 500); 11 May 2009 20:57:03 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 20014 invoked by uid 500); 11 May 2009 20:57:02 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 19866 invoked by uid 99); 11 May 2009 20:57:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 May 2009 20:57:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of b.candler@pobox.com designates 207.106.133.19 as permitted sender) Received: from [207.106.133.19] (HELO sasl.smtp.pobox.com) (207.106.133.19) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 May 2009 20:56:51 +0000 Received: from localhost.localdomain (unknown [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id 07134B1EE9 for ; Mon, 11 May 2009 16:56:30 -0400 (EDT) Received: from mappit (unknown [80.45.95.114]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTPSA id AF9A5B1EE7 for ; Mon, 11 May 2009 16:56:29 -0400 (EDT) Received: from brian by mappit with local (Exim 4.69) (envelope-from ) id 1M3cXz-0007YM-LT for dev@couchdb.apache.org; Mon, 11 May 2009 21:56:27 +0100 Date: Mon, 11 May 2009 21:56:27 +0100 From: Brian Candler To: dev@couchdb.apache.org Subject: PUT and rev query string Message-ID: <20090511205627.GA28790@uk.tiscali.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Pobox-Relay-ID: 338C310A-3E6E-11DE-9852-CABC03BA4B0C-28021239!a-sasl-fastnet.pobox.com X-Virus-Checked: Checked by ClamAV on apache.org I notice that: * DELETE lets you specify ...?rev=xxxx as part of the URL * But PUT doesn't (it seems to ignore it) * Both of them let you use an If-Match: xxxx header instead I was just wondering if it's intentional that PUT doesn't honour ?rev=xxxx. Admittedly, if it did, there would then be *three* different ways of specifying the same thing (including _rev in the JSON body). However it's often more convenient to add a query string than to add an extra header, and it seems a bit inconsistent at the moment. This isn't a big problem for me, but just thought it was worth a mention. Regards, Brian.