Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
1.0.1
-
None
-
None
-
Dont Know
Description
Calling a list function from jquery couch that returns a non json response (html in my case) fails since the return type is hardcoded as json:
complete: function(req) {
try
catch(e) {
//....
This causes httpData to try and parse the returned data as json, by making this optional (adding returnType option to options):
var resp = $.httpData(req, options.returnType? options.returnType:"json");
It is solved,
I can create a patch if required.