Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 60446 invoked from network); 3 Aug 2009 19:13:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Aug 2009 19:13:36 -0000 Received: (qmail 23039 invoked by uid 500); 3 Aug 2009 19:13:41 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 22943 invoked by uid 500); 3 Aug 2009 19:13:41 -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 22933 invoked by uid 99); 3 Aug 2009 19:13:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 19:13:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.210.204 as permitted sender) Received: from [209.85.210.204] (HELO mail-yx0-f204.google.com) (209.85.210.204) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 19:13:33 +0000 Received: by yxe42 with SMTP id 42so3868546yxe.13 for ; Mon, 03 Aug 2009 12:13:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=T0tPjA7KvtusTQyAMYq3LJsK4M87pxvvO1W6zhhVFq0=; b=TDyLPfCprbD+jR/Y/m6HVVkPkCHxTAsdeJ+V1hgBYUP7WZIi59DORyKR/0p9yjDKif 5iZTzAtBZhZBBXV4CdteTnyEEdeQ4Panq9esYNr4Vz+rIgZp+TdKuYJxJz/NHW9pfIPr q+n3iZYc/ZkIl9sQ52Q3iKqNd15V5HAgVt86s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Ie9Yg62ed4E9WFDfG7KkkPO+eww7tjo1gd1GTB5iCmLLndTs/U8tcFnAVTXFZYf8WH 1rcvj63zvkAqTkv8jChO7t4Myhn8wJL6iN+GsFmfZFmmEBpeuw2ZIFJ6Wn82G6qwSFxf BNEDAtYP0+QH3Tr+sxcIS0e5ANZTsDb6hVvks= MIME-Version: 1.0 Received: by 10.100.107.20 with SMTP id f20mr8639607anc.14.1249326792172; Mon, 03 Aug 2009 12:13:12 -0700 (PDT) In-Reply-To: <10D5057E-AF1F-41FC-B31C-9BA4B318A32F@apache.org> References: <42E1E336-66E6-4A26-AFB2-2C92D4BF564C@apache.org> <20090803155112.GA13646@uk.tiscali.com> <10D5057E-AF1F-41FC-B31C-9BA4B318A32F@apache.org> Date: Mon, 3 Aug 2009 15:13:11 -0400 Message-ID: Subject: Re: POST with _id From: Paul Davis To: dev@couchdb.apache.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Aug 3, 2009 at 2:27 PM, Jan Lehnardt wrote: > > On 3 Aug 2009, at 20:19, Paul Davis wrote: > >> On Mon, Aug 3, 2009 at 1:43 PM, Jan Lehnardt wrote: >>> >>> On 3 Aug 2009, at 19:37, Paul Davis wrote: >>> >>>> Either way, perhaps we should poll the community and see what the >>>> general consensus would be for respecting an _id or _rev in the POST >>>> body? >>> >>> =93Be strict in what you send, but generous in what you receive=94 =97 = The >>> Internets >>> >>> Cheers >>> Jan >>> -- >>> >>> >> >> Does that mean I should write a patch to respect _id/_rev members? > > Oh sorry, I didn't mean to assign any patches :) > > I remember stumbling over this at least twice in the (distant) past. I > prefer the forced PUT, but then I'm also the one to argue intuitive APIs. > Considering no downsides (usually Damien adds or leaves out features for = a > reason), I don't see anything wrong with Brian's proposal. > > Cheers > Jan > -- > > > Its on the white board. I'll send a proposal to user@ and see what a more general audience thinks. Paul