From 8b64343813153c46b35403c3766d125968ffc53e Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Fri, 8 Nov 2013 14:39:20 -0800 Subject: [PATCH] remove a few redundant methods for header field values --- lib/context.js | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/lib/context.js b/lib/context.js index fc97ee3..43fbae3 100644 --- a/lib/context.js +++ b/lib/context.js @@ -924,32 +924,6 @@ Context.prototype = { } }, - setHeader: function(field, val){ - this.set(field, val); - }, - - /** - * Get the current response header `name`. - * - * @param {String} name - * @api public - */ - - getHeader: function(name){ - return this.res.getHeader(name); - }, - - /** - * Remove the current response header `name`. - * - * @param {String} name - * @api public - */ - - removeHeader: function(name){ - return this.res.removeHeader(name); - }, - /** * Get the trailing headers to a request. *