xref: /unit/test/node/loader/es_modules_http/app.mjs (revision 1876:f85b85094541)
1import http from "http"
2
3http.createServer(function (req, res) {
4    res.writeHead(200, {'Content-Length': 12, 'Content-Type': 'text/plain'})
5       .end('Hello World\n');
6}).listen(7080);
7