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