Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 23355 invoked from network); 17 Mar 2010 17:41:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Mar 2010 17:41:32 -0000 Received: (qmail 19173 invoked by uid 500); 17 Mar 2010 17:41:32 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 19103 invoked by uid 500); 17 Mar 2010 17:41:32 -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 19095 invoked by uid 99); 17 Mar 2010 17:41:32 -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 17:41:32 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 209.85.220.226 is neither permitted nor denied by domain of jchris@couch.io) Received: from [209.85.220.226] (HELO mail-fx0-f226.google.com) (209.85.220.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Mar 2010 17:41:24 +0000 Received: by mail-fx0-f226.google.com with SMTP id 26so1511595fxm.35 for ; Wed, 17 Mar 2010 10:41:03 -0700 (PDT) Received: by 10.223.143.21 with SMTP id s21mr7921664fau.51.1268847663150; Wed, 17 Mar 2010 10:41:03 -0700 (PDT) Received: from [10.0.1.213] (h-74-1-186-35.snfccasy.static.covad.net [74.1.186.35]) by mx.google.com with ESMTPS id 15sm5128680fxm.8.2010.03.17.10.41.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Mar 2010 10:41:01 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: Testsuite: changes question From: J Chris Anderson In-Reply-To: <4BA103DE.2020009@zeromail.org> Date: Wed, 17 Mar 2010 10:41:00 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <46E97A09-6027-4D3B-83AE-9D380723E53C@gmail.com> References: <4B9F9406.90109@zeromail.org> <4BA103DE.2020009@zeromail.org> To: dev@couchdb.apache.org X-Mailer: Apple Mail (2.1077) On Mar 17, 2010, at 9:31 AM, Lena Herrmann wrote: > Am 16.03.10 15:21, schrieb Lena Herrmann: >> Hi, >>=20 >> the "changes" method in couch.js takes not only options, but also = keys. >> What are the keys for? >=20 > Okay I figured out what keys for. But the "changes" method doesn't = seem to work properly. When it is called with keys, like: >=20 > db.changes({"since":"1"}, ["123"]); >=20 > It is supposed to do a POST request. But only GET and HEAD are = allowed, so I get a 405 here. >=20 > Can someone tell me where to fix this or do it themselves .. thanks. >=20 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. Chris >=20 > Cheers, Lena >=20 >=20