couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <>
Subject [jira] Commented: (COUCHDB-1083) JSONP support in non view server routes such as _all_dbs or _changes
Date Tue, 08 Mar 2011 00:36:59 GMT


Adam Kocoloski commented on COUCHDB-1083:

A simple _view request does respect the allow_jsonp setting.

> JSONP support in non view server routes such as _all_dbs or _changes
> --------------------------------------------------------------------
>                 Key: COUCHDB-1083
>                 URL:
>             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:
> 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

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message