From user-return-9808-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Wed Apr 07 06:06:31 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 22836 invoked from network); 7 Apr 2010 06:06:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Apr 2010 06:06:31 -0000 Received: (qmail 25743 invoked by uid 500); 7 Apr 2010 06:06:30 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 25646 invoked by uid 500); 7 Apr 2010 06:06:30 -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 25637 invoked by uid 99); 7 Apr 2010 06:06:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Apr 2010 06:06:29 +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: local policy) Received: from [209.85.217.220] (HELO mail-gx0-f220.google.com) (209.85.217.220) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Apr 2010 06:06:22 +0000 Received: by gxk20 with SMTP id 20so443605gxk.12 for ; Tue, 06 Apr 2010 23:06:00 -0700 (PDT) Received: by 10.100.25.4 with SMTP id 4mr18040522any.9.1270620355505; Tue, 06 Apr 2010 23:05:55 -0700 (PDT) Received: from [192.168.1.103] (c-98-248-172-14.hsd1.ca.comcast.net [98.248.172.14]) by mx.google.com with ESMTPS id 7sm3870838ywf.25.2010.04.06.23.05.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 06 Apr 2010 23:05:54 -0700 (PDT) Sender: J Chris Anderson Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: Do change notification (filters) support HTTP verbs other than GET? From: J Chris Anderson In-Reply-To: Date: Tue, 6 Apr 2010 23:05:52 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1077) On Apr 6, 2010, at 8:48 AM, Ning Tan wrote: > Hello, >=20 > Do change notification filters (or change notifications in general) > support HTTP verbs other than GET? >=20 Currently they only support GET, but it'd be a very short patch to = expand support to include POST. If someone can provide a JavaScript test case (patch to the change.js = test), the Erlang will be simple enough that I don't mind filling in the = gaps. Cheers, Chris > We are implementing a notification filter that accepts a number of doc > IDs (passed in by the client) and only select changes in that set. The > client decides which doc IDs it's interested in. I'm worried about the > query string length limitation. Is this a valid concern? Does there > exist some better way to handle what we need done? >=20 > Thanks.