summaryrefslogtreecommitdiffhomepage
path: root/test/node/variables
diff options
context:
space:
mode:
Diffstat (limited to 'test/node/variables')
-rwxr-xr-xtest/node/variables/app.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/node/variables/app.js b/test/node/variables/app.js
index 968afba5..4ed94d09 100755
--- a/test/node/variables/app.js
+++ b/test/node/variables/app.js
@@ -11,9 +11,9 @@ require('unit-http').createServer(function (req, res) {
res.setHeader('Server-Protocol', req.httpVersion);
res.setHeader('Request-Raw-Headers', req.rawHeaders.join());
res.setHeader('Content-Length', Buffer.byteLength(body));
- res.setHeader('Content-Type', req.headers['Content-Type']);
- res.setHeader('Custom-Header', req.headers['Custom-Header']);
- res.setHeader('Http-Host', req.headers['Host']);
+ res.setHeader('Content-Type', req.headers['content-type']);
+ res.setHeader('Custom-Header', req.headers['custom-header']);
+ res.setHeader('Http-Host', req.headers['host']);
res.writeHead(200, {});
res.end(body);
});