summaryrefslogtreecommitdiffhomepage
path: root/test/node/header_name_valid
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtest/node/header_name_valid/app.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/node/header_name_valid/app.js b/test/node/header_name_valid/app.js
new file mode 100755
index 00000000..425f026f
--- /dev/null
+++ b/test/node/header_name_valid/app.js
@@ -0,0 +1,7 @@
+#!/usr/bin/env node
+
+require('unit-http').createServer(function (req, res) {
+ res.writeHead(200, {});
+ res.setHeader('@$', 'test');
+ res.end();
+}).listen(7080);