summaryrefslogtreecommitdiffhomepage
path: root/src/nodejs/unit-http/http_server.js
diff options
context:
space:
mode:
authorAlexander Borisov <alexander.borisov@nginx.com>2018-12-19 15:57:04 +0300
committerAlexander Borisov <alexander.borisov@nginx.com>2018-12-19 15:57:04 +0300
commitd9dad07934c17319b6aecd5b4958cdef3a196ad0 (patch)
tree45c6feb5e5f75e8c60d2dc9d340febafe3f9868a /src/nodejs/unit-http/http_server.js
parentd6f38a3268dd4df717bdb9054f3f9ee47fa1f429 (diff)
downloadunit-d9dad07934c17319b6aecd5b4958cdef3a196ad0.tar.gz
unit-d9dad07934c17319b6aecd5b4958cdef3a196ad0.tar.bz2
Node.js: removed unused _implicitHeader() function.
Diffstat (limited to '')
-rwxr-xr-xsrc/nodejs/unit-http/http_server.js5
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;