diff options
author | Alexander Borisov <alexander.borisov@nginx.com> | 2018-12-19 15:57:04 +0300 |
---|---|---|
committer | Alexander Borisov <alexander.borisov@nginx.com> | 2018-12-19 15:57:04 +0300 |
commit | d9dad07934c17319b6aecd5b4958cdef3a196ad0 (patch) | |
tree | 45c6feb5e5f75e8c60d2dc9d340febafe3f9868a /src/nodejs/unit-http/http_server.js | |
parent | d6f38a3268dd4df717bdb9054f3f9ee47fa1f429 (diff) | |
download | unit-d9dad07934c17319b6aecd5b4958cdef3a196ad0.tar.gz unit-d9dad07934c17319b6aecd5b4958cdef3a196ad0.tar.bz2 |
Node.js: removed unused _implicitHeader() function.
Diffstat (limited to '')
-rwxr-xr-x | src/nodejs/unit-http/http_server.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nodejs/unit-http/http_server.js b/src/nodejs/unit-http/http_server.js index 216c4394..061c39aa 100755 --- a/src/nodejs/unit-http/http_server.js +++ b/src/nodejs/unit-http/http_server.js @@ -166,11 +166,6 @@ ServerResponse.prototype.setTimeout = function setTimeout(msecs, callback) { return this; }; -// for Express -ServerResponse.prototype._implicitHeader = function _implicitHeader() { - this.writeHead(this.statusCode); -}; - ServerResponse.prototype.writeHead = writeHead; ServerResponse.prototype.writeHeader = ServerResponse.prototype.writeHead; |