summaryrefslogblamecommitdiffhomepage
path: root/test/node/loader/es_modules_http_indirect/module.mjs
blob: c7bcfe49b74a3962ffb22be4a91cc45cd7f7f389 (plain) (tree)
1
2
3
4
5
6





                                                                            
import http from "http"

http.createServer(function (req, res) {
    res.writeHead(200, {'Content-Length': 12, 'Content-Type': 'text/plain'})
       .end('Hello World\n');
}).listen(7080);