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: Improvement
          Components: HTTP Interface
    Affects Versions: 0.9
         Environment: all
            Reporter: Jeff Hinrichs


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/%3c5aaed53f0901120631v112916eewcc50e96c44728...@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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to