Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 48084 invoked from network); 8 Mar 2011 00:37:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Mar 2011 00:37:24 -0000 Received: (qmail 84480 invoked by uid 500); 8 Mar 2011 00:37:23 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 84435 invoked by uid 500); 8 Mar 2011 00:37:23 -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 84427 invoked by uid 99); 8 Mar 2011 00:37: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 00:37: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 00:37: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 64DBA39CEC4 for ; Tue, 8 Mar 2011 00:36:59 +0000 (UTC) Date: Tue, 8 Mar 2011 00:36:59 +0000 (UTC) From: "Adam Kocoloski (JIRA)" To: dev@couchdb.apache.org Message-ID: <1260152023.3158.1299544619409.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=13003724#comment-13003724 ] 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: 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