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