Return-Path: Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: (qmail 84658 invoked from network); 19 Aug 2009 14:21:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Aug 2009 14:21:32 -0000 Received: (qmail 94567 invoked by uid 500); 19 Aug 2009 14:21:51 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 94484 invoked by uid 500); 19 Aug 2009 14:21:50 -0000 Mailing-List: contact commits-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 commits@couchdb.apache.org Received: (qmail 94475 invoked by uid 500); 19 Aug 2009 14:21:50 -0000 Delivered-To: apmail-incubator-couchdb-commits@incubator.apache.org Received: (qmail 94472 invoked by uid 99); 19 Aug 2009 14:21:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 14:21:50 +0000 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 14:21:42 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 39ABE118AC for ; Wed, 19 Aug 2009 14:21:21 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: couchdb-commits@incubator.apache.org Date: Wed, 19 Aug 2009 14:21:21 -0000 Message-ID: <20090819142121.13114.55171@eos.apache.org> Subject: [Couchdb Wiki] Trivial Update of "How to intercept document updates and perform additional server-side processing" by Ning Tan X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by Ning Tan: http://wiki.apache.org/couchdb/How_to_intercept_document_updates_and_perform_additional_server-side_processing ------------------------------------------------------------------------------ == Usage == - To invoke a handler, one must "put" the document against the handler function itself. Using the canonical document URL won't invoke any handlers. For example, to invoke the "in-place" handler defined above, the URL to use is: + To invoke a handler, one must "PUT" the document against the handler function itself (POST does not seem to be supported). Using the canonical document URL won't invoke any handlers. For example, to invoke the "in-place" handler defined above, the URL to use is: {{{ http://127.0.0.1:5984//_design//_update/in-place/?field=title&value=test