summaryrefslogblamecommitdiffhomepage
path: root/test/node/write_multiple/app.js
blob: 3cbb3b86050f76f2269029230897c5f4fc1f422b (plain) (tree)
1
2
3
4
5
6
7
8







                                                                             
#!/usr/bin/env node

require('unit-http').createServer(function (req, res) {
    res.writeHead(200, {'Content-Type': 'text/plain', 'Content-Length': 14});
    res.write('write');
    res.write('write2');
    res.end('end');
}).listen(7080);