commit | e0f9e045ac4134791c8f3cba4dacb5e54c51de2e | [log] [tgz] |
---|---|---|
author | Robert Newson <rnewson@apache.org> | Sun Feb 13 19:17:22 2011 +0000 |
committer | Alexander Shorin <kxepal@gmail.com> | Sun Feb 13 19:17:22 2011 +0000 |
tree | 078368ebd5f55ef3343faa5e1ab8bba639287b48 | |
parent | 06980a26a7da2b22bd04373f1e12d7742d952259 [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/trunk@1070279 13f79535-47bb-0310-9956-ffa450edef68