summaryrefslogblamecommitdiffhomepage
path: root/test/node/update_header/app.js
blob: 0c5cd237eaf7541596ae50cf4523fd0eea907e50 (plain) (tree)
1
2
3
4
5
6
7






                                                       
#!/usr/bin/env node

require('unit-http').createServer(function (req, res) {
    res.setHeader('X-Header', 'test');
    res.setHeader('X-Header', 'new');
    res.end();
}).listen(7080);