Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 9198 invoked from network); 7 Mar 2011 18:29:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Mar 2011 18:29:21 -0000 Received: (qmail 22867 invoked by uid 500); 7 Mar 2011 18:29:21 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 22830 invoked by uid 500); 7 Mar 2011 18:29:21 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 22817 invoked by uid 99); 7 Mar 2011 18:29:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2011 18:29:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2011 18:29:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6937539B57C for ; Mon, 7 Mar 2011 18:28:59 +0000 (UTC) Date: Mon, 7 Mar 2011 18:28:59 +0000 (UTC) From: "max ogden (JIRA)" To: dev@couchdb.apache.org Message-ID: <1064094891.1687.1299522539427.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Created: (COUCHDB-1083) JSONP support in non view server routes such as _all_dbs or _changes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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