diff --git a/lib/response.js b/lib/response.js index 0e77207..5046395 100644 --- a/lib/response.js +++ b/lib/response.js @@ -305,7 +305,7 @@ module.exports = { */ set type(type) { - type = getType(type) || false; + type = getType(type); if (type) { this.set('Content-Type', type); } else {