Standardizes instances of removeHeader to remove

master
Louis DeScioli 2015-12-20 16:30:54 -05:00 committed by Jonathan Ong
parent 7373c7eca1
commit d74802dc70
1 changed files with 3 additions and 3 deletions

View File

@ -135,9 +135,9 @@ module.exports = {
// no content
if (null == val) {
if (!statuses.empty[this.status]) this.status = 204;
this.res.removeHeader('Content-Type');
this.res.removeHeader('Content-Length');
this.res.removeHeader('Transfer-Encoding');
this.remove('Content-Type');
this.remove('Content-Length');
this.remove('Transfer-Encoding');
return;
}