summaryrefslogtreecommitdiffhomepage
path: root/test/node/basic/app.js
blob: bc8d570a2903773d1ac3c7bcd9acc8d804396b48 (plain) (blame)
1
2
3
4
5
6
#!/usr/bin/env node

require('unit-http').createServer(function (req, res) {
    res.writeHead(200, {'Content-Length': 12, 'Content-Type': 'text/plain'});
    res.end('Hello World\n');
}).listen(7080);