Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 87377 invoked from network); 3 Jan 2009 14:17:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jan 2009 14:17:40 -0000 Received: (qmail 89217 invoked by uid 500); 3 Jan 2009 14:17:39 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 89181 invoked by uid 500); 3 Jan 2009 14:17:38 -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 89170 invoked by uid 99); 3 Jan 2009 14:17:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 06:17:38 -0800 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 antony.blakey@gmail.com designates 209.85.200.168 as permitted sender) Received: from [209.85.200.168] (HELO wf-out-1314.google.com) (209.85.200.168) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 14:17:30 +0000 Received: by wf-out-1314.google.com with SMTP id 28so7876543wfc.29 for ; Sat, 03 Jan 2009 06:17:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=NxADXiBUqhCa6md5hQe/HUKEUV79YUcnbczYt+ug9WI=; b=wHfoaUenemCvI+cAyt3Pr5eioAp39dDqNb+Z/tYHC0lZotYmgpmnY91vHzdyUwvwCC SunJFSeGvwt8qnCl5rphoXUdUwSD7zTWEjwH1Om/ElrKeJoJh5XaaStW/vsd9WRY6DQY 4Y8pvzs5Nn0W7MlC4Z3c7Vm3luhThO9MzOAMo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=j7rBeMNkBsbT96GqTUvX1JejEwcKMo3c4BV8YD38tD5XaJ/fjkmrrV2CIwq/9QDMd7 lACxaERNILNPEGjqiExOfLrarmkAzGzEWzwn9yKLYgbXO/HmJVaAOEwQI5sPNOF2K68s FikznJ7uTPLSwNLxYrrkNoYWN3+7zNYwSnLiA= Received: by 10.142.134.17 with SMTP id h17mr7772129wfd.344.1230992230585; Sat, 03 Jan 2009 06:17:10 -0800 (PST) Received: from ?192.168.0.16? (ppp121-45-96-203.lns10.adl6.internode.on.net [121.45.96.203]) by mx.google.com with ESMTPS id 28sm46196217wfd.34.2009.01.03.06.17.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 03 Jan 2009 06:17:10 -0800 (PST) Message-Id: <3E3930F6-105C-43B2-837B-F90EB632C75B@gmail.com> From: Antony Blakey To: user@couchdb.apache.org In-Reply-To: <20090103135418.GD22715@tumbolia.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: Does CouchDB check autogenerated document id's? Date: Sun, 4 Jan 2009 00:47:06 +1030 References: <21939021.1440421230910477169.JavaMail.servlet@perfora> <46D7ECAF-8D5E-46D4-BFD3-302B3CB1DBEC@jasondavies.com> <4F6E3427-CFDD-472E-BE2F-1E1CB6D04257@jasondavies.com> <214c385b0901021610p1289148dr5cf4e8522574b6f9@mail.gmail.com> <20090103131218.GA22715@tumbolia.org> <20090103134108.GB22715@tumbolia.org> <20090103135418.GD22715@tumbolia.org> X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org On 04/01/2009, at 12:24 AM, Noah Slater wrote: > You lost me with this. Are we still talking about CouchDB here or > are we on an > (interesting but unrelated) tangent? A tangent, but the issue does impact Couch ... > What has the limit of query strings to do > with the decision to use POST vs. GET? Are you talking about the > situation where > you want to pass in data to a GET request that would be too long (in > practice, > the RFC doesn't specify a limit) for a query string? My rule of > thumb would be > that if you find your self in that situation, you're doing something > that could > probably be simplified. The multikey get in Couch should be a GET, but it can't be unless you want you API to be limited by the (practical) limitation on URL length. From an API perspective, I think POST and GET mix up idempotency with the ability to have a payload or not, which in practical terms results in people using POST when they should use GET, because those two issues, whilst theoretically orthogonal, and not implemented that way. Antony Blakey ------------- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 Borrow money from pessimists - they don't expect it back. -- Steven Wright