You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Sam Bisbee (Closed) (JIRA)" <ji...@apache.org> on 2012/02/22 06:12:50 UTC

[jira] [Closed] (COUCHDB-353) [PATCH] add default_handler into configuration for overriding couch_httpd_db:handle_request/1 if needed

     [ https://issues.apache.org/jira/browse/COUCHDB-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sam Bisbee closed COUCHDB-353.
------------------------------


Resolved for a while. Closing.
                
> [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
>            Assignee: Paul Joseph Davis
>            Priority: Minor
>             Fix For: 0.10
>
>         Attachments: default_handler.console.txt, 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira