XMLHttpRequest取得响应

RresponseText:获得字符串形式的响应数据

responseXML:获得XML形式的响应数据

status和statusText:以数字和文本形式返回HTTP状态码

getAllResponseHeader():获取所有的响应报头

getResponseHeader():查询响应头中的某个字段的值

原文地址:https://www.cnblogs.com/mxk258/p/4312689.html