标签:char end style pre 程序 function icon server create
var http = require("http"); http.createServer(function(request, response){ response.writeHead(200, {"Conrtent-Type": "text/html; charset=utf-8"}); if (request.url!==‘/favicon.ico‘) { console.log("visit"); response.write(‘hello world‘); response.end(); } }).listen(8000); console.log(‘server running at http://127.0.0.1:8000‘)
标签:char end style pre 程序 function icon server create
原文地址:http://www.cnblogs.com/noper/p/6243695.html