diff options
author | Robert Newson <rnewson@apache.org> | 2011-02-15 13:33:16 +0000 |
---|---|---|
committer | Robert Newson <rnewson@apache.org> | 2011-02-15 13:33:16 +0000 |
commit | 4cf6e057d49677b35454f4ab4cb8acd7114bdf95 (patch) | |
tree | db6927273ae36fe29560ac3e93934ce3d1051306 /src/couchdb/couch_rep_changes_feed.erl | |
parent | afabf978ba3beb8693d6cb0b56561e91d5d52579 (diff) |
Only accept application/json from jquery.couch.js
Since Filipe's fix for parsing the accepted content types at r1041103, returns from
$.ajax could return a 302 that redirects to an HTML page. Functions like activeTasks()
expect JSON and barf when fed HTML.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1070885 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_rep_changes_feed.erl')
0 files changed, 0 insertions, 0 deletions