diff --git a/lib/http/server.js b/lib/http/server.js index 48c60fac..889cc872 100644 --- a/lib/http/server.js +++ b/lib/http/server.js @@ -615,7 +615,7 @@ HTTPServer.prototype._init = function _init() { } if (!array) { - res.send(200, out[0]); + res.send(200, JSON.stringify(out[0]), 'json'); return; }