摘要: // 引入HTTP模块 let http = require("http") // 用http模块创建服务 /* req 获取URL信息 (request) res 浏览器返回响应信息 (response) */ http.createServer(function(req,res){ // 发送http头部 // HTTP状态值:200:OK // 设置HTTP头... 阅读全文
posted @ 2018-11-12 15:32 靥放 阅读(2718) 评论(0) 推荐(0) 编辑