Merge pull request #626 from lourd/master
Standardizes instances of removeHeader to remove
This commit is contained in:
commit
971115cfbd
1 changed files with 3 additions and 3 deletions
|
@ -134,9 +134,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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue