Node.js: removed unused _implicitHeader() function.
This commit is contained in:
@@ -166,11 +166,6 @@ ServerResponse.prototype.setTimeout = function setTimeout(msecs, callback) {
|
|||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
|
|
||||||
// for Express
|
|
||||||
ServerResponse.prototype._implicitHeader = function _implicitHeader() {
|
|
||||||
this.writeHead(this.statusCode);
|
|
||||||
};
|
|
||||||
|
|
||||||
ServerResponse.prototype.writeHead = writeHead;
|
ServerResponse.prototype.writeHead = writeHead;
|
||||||
ServerResponse.prototype.writeHeader = ServerResponse.prototype.writeHead;
|
ServerResponse.prototype.writeHeader = ServerResponse.prototype.writeHead;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user