[
https://issues.apache.org/jira/browse/COUCHDB-1083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003721#comment-13003721
]
Adam Kocoloski commented on COUCHDB-1083:
-----------------------------------------
Hi Max, I can't reproduce this bug on trunk. I tried adding a callback few of
those resources and it worked as expected, provided the server was configured
with
[httpd]
allow_jsonp = true
Can you double-check your server config? In the meantime I'm going to see if
the view handlers respect the allow_jsonp setting.
> 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