JSONP support in non view server routes such as _all_dbs or _changes
--------------------------------------------------------------------

                 Key: COUCHDB-1083
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1083
             Project: CouchDB
          Issue Type: Improvement
          Components: HTTP Interface
            Reporter: max ogden


If you query http://localhost:5984/_all_dbs?callback=helloworld, Couch should 
return: helloworld(["_users","mydatabase"]). This is the behavior of anything 
related to the view server but it never found it's way over to the other 
endpoints such as _all_dbs, _changes and _all_docs. Here's the wiki article on 
JSONP: http://en.wikipedia.org/wiki/JSON#JSONP.

A (hopefully complete) list of routes:
/_active_tasks
/_config
/_stats
/_uuids
/_all_dbs
/:db/_changes
/:db/_all_docs

JSONP doesn't support POSTing data so this is only relevant to GET based status 
information requests.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to