feature(rest) delete add: gzip: false, name .txt

This commit is contained in:
coderaiser 2014-09-10 09:00:27 -04:00
parent 915b718f22
commit 82c3601cb1

View file

@ -80,6 +80,9 @@
if (options.name)
params.name = options.name;
if (options.gzip !== undefined)
params.gzip = options.gzip;
if (options.query)
params.query = options.query;
@ -196,7 +199,7 @@
msg = formatMsg('delete', names);
}
callback(error, msg);
callback(error, {gzip: false, name: '.txt'}, msg);
});
}
});