summaryrefslogtreecommitdiffhomepage
path: root/test/node/remove_header/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/node/remove_header/app.js')
-rw-r--r--[-rwxr-xr-x]test/node/remove_header/app.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/node/remove_header/app.js b/test/node/remove_header/app.js
index cd7b80c3..2a591235 100755..100644
--- a/test/node/remove_header/app.js
+++ b/test/node/remove_header/app.js
@@ -1,6 +1,5 @@
-#!/usr/bin/env node
-require('unit-http').createServer(function (req, res) {
+require('http').createServer(function (req, res) {
res.setHeader('X-Header', 'test');
res.setHeader('Was-Header', res.hasHeader('X-Header').toString());