summaryrefslogtreecommitdiffhomepage
path: root/test/node/require_shim/transitive_dependency/transitive_http.js
blob: f1eb98e54f50c4add9ec543934ea1d0779f284c1 (plain) (blame)
1
2
3
4
5
6
7
8
const http = require("http");

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

module.exports = http;