From d23ad1a024532a9df11f4ef23a959fdf212c37bd Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Thu, 14 Nov 2013 11:34:55 -0800 Subject: [PATCH] add .body to Response#inspect() --- lib/response.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/response.js b/lib/response.js index cf32281..ded63d7 100644 --- a/lib/response.js +++ b/lib/response.js @@ -413,7 +413,9 @@ module.exports = { */ inspect: function(){ - return this.toJSON(); + var o = this.toJSON(); + o.body = this.body; + return o; }, /**