奇怪的HTTP响应头只被发送到Internet Explorer 8
所以这是我觉得困惑的东西。 我正在研究一个需要parsingXML数据的Javascript,我使用jQuery的$ .ajax来获取和parsing数据。 除了使用Internet Explorer 8进行testing(这可能是7和9的问题)之外,它在任何地方都很好用。 在IE浏览器,我得到parsing错误。 我安装了一个console.log来检查HTTP标头。 这是我从Windows XP上的Chrome获得的内容,以及我从IE获得的内容 – 铬: Date: Sat, 09 Apr 2011 16:06:24 GMT Connection: Keep-Alive Content-Length: 2283 Last-Modified: Sat, 09 Apr 2011 15:59:12 GMT Server: Apache/2.2.14 (Ubuntu) ETag: "48048-8eb-4a07e6c693400" Content-Type: application/xml Accept-Ranges: bytes Keep-Alive: timeout=15, max=97 IE8: LOG: ETag: "48048-8eb-4a07d7a3cbe40" Keep-Alive: timeout=15, max=97 Content-Type: text/html Content-Length: 2283 Last-Modified: Sat, […]