From 0b687d8f8edde933edbe241b53e68710e613b171 Mon Sep 17 00:00:00 2001 From: jomo Date: Mon, 20 Apr 2015 00:52:08 +0200 Subject: [PATCH] correct comment about result.type --- lib/response.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/response.js b/lib/response.js index 8344642..4cb3f13 100644 --- a/lib/response.js +++ b/lib/response.js @@ -19,7 +19,7 @@ var human_status = { // * status: see human_status, required // * redirect: redirect URL // * body: file or message, required unless redirect is present or status is < 0 -// * type: a valid Content-Type, required if body is present +// * type: a valid Content-Type for the body, defaults to "text/plain" // * hash: image hash, required when body is an image // * err: a possible Error module.exports = function(request, response, result) {