summaryrefslogtreecommitdiffhomepage
path: root/test/node/header_name_case
diff options
context:
space:
mode:
Diffstat (limited to 'test/node/header_name_case')
-rwxr-xr-xtest/node/header_name_case/app.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/node/header_name_case/app.js b/test/node/header_name_case/app.js
new file mode 100755
index 00000000..490bd4d5
--- /dev/null
+++ b/test/node/header_name_case/app.js
@@ -0,0 +1,8 @@
+#!/usr/bin/env node
+
+require('unit-http').createServer(function (req, res) {
+ res.setHeader('X-Header', '1');
+ res.setHeader('X-header', '2');
+ res.setHeader('X-HEADER', '3');
+ res.end();
+}).listen(7080);