Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 43473 invoked from network); 18 May 2009 18:40:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 May 2009 18:40:08 -0000 Received: (qmail 71343 invoked by uid 500); 18 May 2009 18:40:08 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 71257 invoked by uid 500); 18 May 2009 18:40:08 -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 71246 invoked by uid 99); 18 May 2009 18:40:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2009 18:40:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2009 18:40:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BCDE329A0013 for ; Mon, 18 May 2009 11:39:45 -0700 (PDT) Message-ID: <1393984939.1242671985772.JavaMail.jira@brutus> Date: Mon, 18 May 2009 11:39:45 -0700 (PDT) From: "Brad Anderson (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Updated: (COUCHDB-353) [PATCH] add default_handler into configuration for overriding couch_httpd_db:handle_request/1 if needed In-Reply-To: <1273739561.1242671985540.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Anderson updated COUCHDB-353: ---------------------------------- Attachment: default_handler.patch > [PATCH] add default_handler into configuration for overriding couch_httpd_db:handle_request/1 if needed > ------------------------------------------------------------------------------------------------------- > > Key: COUCHDB-353 > URL: https://issues.apache.org/jira/browse/COUCHDB-353 > Project: CouchDB > Issue Type: Improvement > Components: HTTP Interface > Affects Versions: 0.9 > Reporter: Brad Anderson > Priority: Minor > Fix For: 0.10 > > Attachments: default_handler.patch > > > To execute code other than couch_httpd_db:handle_request/1 for the default handler function, we need to add a configuration option to specify the new module/fun and execute that function upon a request. This will allow devs to execute alternate code for things like database creation and deletion, etc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.