From d9ad14be41bc341ba507d629ef0bde5139cd8029 Mon Sep 17 00:00:00 2001 From: Robert Newson Date: Tue, 18 Oct 2011 15:16:57 +0100 Subject: Support jsonp in externals. Allow ?callback= for any external that returns json (i.e, uses "json":{} instead of "data":"data". BugzID: 12748 --- apps/couch/include/couch_db.hrl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/couch/include') diff --git a/apps/couch/include/couch_db.hrl b/apps/couch/include/couch_db.hrl index 1c425e8d..1b46786c 100644 --- a/apps/couch/include/couch_db.hrl +++ b/apps/couch/include/couch_db.hrl @@ -217,7 +217,8 @@ stop = false, data = <<>>, ctype = "application/json", - headers = [] + headers = [], + json = nil }). -record(group, { -- cgit v1.2.3