node.js中的http.response.end方法使用说明
var http = require('http');
http.createServer(function(req, res){
res.writeHead(200, {'Content-type' : 'text/html'});
res.write('');
res.end('
Hello World
');}).listen(3000);
var http = require('http');
http.createServer(function(req, res){
res.writeHead(200, {'Content-type' : 'text/html'});
res.write('');
res.end('
Hello World
');}).listen(3000);