From 1cd5a3edc9d9c6addf17b26df9699f00679f404f Mon Sep 17 00:00:00 2001 From: Gregor MacLennan Date: Sun, 7 Dec 2014 09:32:51 -0800 Subject: [PATCH] Join chunked responses with empty string --- lib/blitline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/blitline.js b/lib/blitline.js index c27d0a5..c1e82bd 100755 --- a/lib/blitline.js +++ b/lib/blitline.js @@ -40,7 +40,7 @@ module.exports = function() { }); res.resume(); return res.on("end", function() { - return callback(JSON.parse(result.join())); + return callback(JSON.parse(result.join(''))); }); });