js 获取http响应头信息
摘要:// 创建一个新的XMLHttpRequest对象 var req = new XMLHttpRequest(); // 注意:使用同步请求可能导致主线程阻塞,不建议在实际生产环境中使用 req.open('GET', document.location, false); //发送请求 req.se
阅读全文
posted @ 2022-06-29 15:01
posted @ 2022-06-29 15:01
posted @ 2022-06-28 23:24
posted @ 2022-06-04 19:57