summaryrefslogtreecommitdiffhomepage
path: root/test/node/get_header_names/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/node/get_header_names/app.js')
-rw-r--r--[-rwxr-xr-x]test/node/get_header_names/app.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/node/get_header_names/app.js b/test/node/get_header_names/app.js
index 4cbccc16..a938b762 100755..100644
--- a/test/node/get_header_names/app.js
+++ b/test/node/get_header_names/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('DATE', ['date1', 'date2']);
res.setHeader('X-Header', 'blah');
res.setHeader('X-Names', res.getHeaderNames());