摘要:
var fs=require("fs"); var http=require("http"); var url=require("url"); const ROOT_DIR="html/"; http.createServer(function(req,res){ var urlObj=url.pa 阅读全文
摘要:
一、http对象的属性和方法 1、http.STATUS_CODES //A collection of all the standard HTTP response status codes, and the short description of each 2、http.METHODS //A 阅读全文