From dev-return-9183-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Wed Mar 17 19:16:09 2010 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 63404 invoked from network); 17 Mar 2010 19:16:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Mar 2010 19:16:08 -0000 Received: (qmail 68856 invoked by uid 500); 17 Mar 2010 19:16:07 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 68800 invoked by uid 500); 17 Mar 2010 19:16:07 -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 68777 invoked by uid 99); 17 Mar 2010 19:16:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Mar 2010 19:16:07 +0000 X-ASF-Spam-Status: No, hits=-0.4 required=10.0 tests=AWL,KHOP_SC_TOP_CIDR8,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [217.114.68.227] (HELO mail.nadir.org) (217.114.68.227) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Mar 2010 19:15:59 +0000 Received: (qmail 29538 invoked by uid 89); 17 Mar 2010 19:15:37 -0000 Received: from unknown (HELO ?192.168.1.103?) (lena@zeromail.org@95.88.81.35) by 0 with ESMTPA; 17 Mar 2010 19:15:37 -0000 Message-ID: <4BA12A57.7080705@zeromail.org> Date: Wed, 17 Mar 2010 20:15:35 +0100 From: Lena Herrmann User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: dev@couchdb.apache.org Subject: Re: Testsuite: changes question References: <4B9F9406.90109@zeromail.org> <4BA103DE.2020009@zeromail.org> <46E97A09-6027-4D3B-83AE-9D380723E53C@gmail.com> In-Reply-To: <46E97A09-6027-4D3B-83AE-9D380723E53C@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Am 17.03.10 18:41, schrieb J Chris Anderson: > > On Mar 17, 2010, at 9:31 AM, Lena Herrmann wrote: > >> Am 16.03.10 15:21, schrieb Lena Herrmann: >>> Hi, >>> >>> the "changes" method in couch.js takes not only options, but also keys. >>> What are the keys for? >> >> Okay I figured out what keys for. But the "changes" method doesn't seem to work properly. When it is called with keys, like: >> >> db.changes({"since":"1"}, ["123"]); >> >> It is supposed to do a POST request. But only GET and HEAD are allowed, so I get a 405 here. >> >> Can someone tell me where to fix this or do it themselves .. thanks. >> > > My guess is that the _changes handler was copied and pasted from the _all_docs_by_seq handler, which may have supported that feature. We should probably just remove the keys option from the JS client. Okay! Lena