xref: /unit/test/node/write_return/app.js (revision 2592:e079c44a8340)
1855Spluknet@nginx.com
21865So.canty@f5.comrequire('http').createServer(function (req, res) {
31114Svbart@nginx.com    res.writeHead(200, {'Content-Type': 'text/plain'})
41114Svbart@nginx.com       .end(res.write('body').toString());
5*2592Szelenkov@nginx.com}).listen(8080);
6