diff options
author | Robert Newson <robert.newson@cloudant.com> | 2011-10-18 15:16:57 +0100 |
---|---|---|
committer | Robert Newson <robert.newson@cloudant.com> | 2012-11-14 15:25:06 +0000 |
commit | d9ad14be41bc341ba507d629ef0bde5139cd8029 (patch) | |
tree | 710d13ca63d5177ae55ca343fd45ce0a8c1aef5e /apps/couch/include | |
parent | dfddfeb0507342c1dac04aee80058cdc8fb50eac (diff) |
Support jsonp in externals.
Allow ?callback= for any external that returns json (i.e,
uses "json":{} instead of "data":"data".
BugzID: 12748
Diffstat (limited to 'apps/couch/include')
-rw-r--r-- | apps/couch/include/couch_db.hrl | 3 |
1 files changed, 2 insertions, 1 deletions
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, { |