diff --git a/lib/response.js b/lib/response.js index 371875f..b7d77de 100644 --- a/lib/response.js +++ b/lib/response.js @@ -211,7 +211,7 @@ module.exports = { return; } - return ~~len; + return Math.trunc(len) || 0; }, /**