From 572b4599f0852e1e5a30a7def245ce88cf5e9339 Mon Sep 17 00:00:00 2001 From: jongleberry Date: Tue, 1 Mar 2016 15:01:32 -0800 Subject: [PATCH] comments: remove vague TODOs closes #576 --- lib/request.js | 1 - lib/response.js | 2 -- test/response/type.js | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/request.js b/lib/request.js index 0505c57..c4a5ccf 100644 --- a/lib/request.js +++ b/lib/request.js @@ -304,7 +304,6 @@ module.exports = { */ get socket() { - // TODO: TLS return this.req.socket; }, diff --git a/lib/response.js b/lib/response.js index d9949fa..9959747 100644 --- a/lib/response.js +++ b/lib/response.js @@ -33,7 +33,6 @@ module.exports = { */ get socket() { - // TODO: TLS return this.ctx.req.socket; }, @@ -45,7 +44,6 @@ module.exports = { */ get header() { - // TODO: wtf return this.res._headers || {}; }, diff --git a/test/response/type.js b/test/response/type.js index eaa7f52..862fa7e 100644 --- a/test/response/type.js +++ b/test/response/type.js @@ -55,7 +55,7 @@ describe('ctx.type', function(){ describe('with no Content-Type', function(){ it('should return ""', function(){ var ctx = context(); - // TODO: this is lame + // this is lame assert('' === ctx.type); }) })