You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jan Lehnardt (JIRA)" <ji...@apache.org> on 2011/04/17 13:16:05 UTC
[jira] [Resolved] (COUCHDB-209) Refine httpd_db_handlers API to map
the externals from paths directly to scripts
[ https://issues.apache.org/jira/browse/COUCHDB-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Lehnardt resolved COUCHDB-209.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.2)
1.1
The new externals should fix this.
> Refine httpd_db_handlers API to map the externals from paths directly to scripts
> --------------------------------------------------------------------------------
>
> Key: COUCHDB-209
> URL: https://issues.apache.org/jira/browse/COUCHDB-209
> Project: CouchDB
> Issue Type: Wish
> Components: HTTP Interface
> Affects Versions: 0.9
> Environment: all
> Reporter: Jeff Hinrichs
> Assignee: Chris Anderson
> Fix For: 1.1
>
>
> We could change the API to map the externals from paths directly to
> scripts, like
> [httpd_db_handlers]
> _mypath = {couch_httpd_external, handle_external_req, "/path/to/my/script"}
> which would be fine by me.
> The current code is like it is because the original implementation was
> designed to have multiple scripts mounted at the /db/_external path.
> Do you mind opening a ticket about this? - I'm happy to write the code
> but I'm supposed to be working on the book right now, so it'll have to
> wait.
> link to mail list thread:
> http://mail-archives.apache.org/mod_mbox/couchdb-user/200901.mbox/%3C5aaed53f0901120631v112916eewcc50e96c44728a3d@mail.gmail.com%3E
> It would appear to be a good solution to allow the flexibility desired while narrowing the number of local.ini edits to accomplish.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira