Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 70626 invoked from network); 8 Mar 2011 02:47:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Mar 2011 02:47:27 -0000 Received: (qmail 87432 invoked by uid 500); 8 Mar 2011 02:47:26 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 87315 invoked by uid 500); 8 Mar 2011 02:47:26 -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 87252 invoked by uid 99); 8 Mar 2011 02:47:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Mar 2011 02:47:23 +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; Tue, 08 Mar 2011 02:47:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6CA4E39C761 for ; Tue, 8 Mar 2011 02:46:59 +0000 (UTC) Date: Tue, 8 Mar 2011 02:46:59 +0000 (UTC) From: "Adam Kocoloski (JIRA)" To: dev@couchdb.apache.org Message-ID: <1391728264.3511.1299552419441.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1064094891.1687.1299522539427.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-1083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003792#comment-13003792 ] Adam Kocoloski commented on COUCHDB-1083: ----------------------------------------- No problem, easiest kind of ticket to close :) > 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