node.js 的url模块
摘要:varURL=require('url'); vartestUrl="http://www.baidu.com:8080/index.php?content=abc"; varp=URL.parse(testUrl); console.log("------------------href:"+p.href);//取到的值是:http://www.baidu.com:8080/index.php?content=abc console.log("------------------requestHead:"+p.pro
阅读全文
posted @
2013-12-02 10:44
统一B界
阅读(217)
推荐(0)