来自IIS的响应在中间“随机”插入了http头信息
我们有一台带有IIS的Windows 2008 Server。 我们有一个运行在IIS上的asp.net站点。 我们首先注意到我们的Default.aspx页面上的问题,我们有一些JavaScript,如下所示: <script language="javascript" type="text/javascript"> … … function removeBodyListener() { //remove the onclick event listener so that no more pages can be opened document.body.setAttribute('onclick', ''); } … … </script> 出于某种原因,这是像这样的东西被发送给客户: <script language="javascript" type="text/javascript"> … … function removeBodyListener() { //HTTP/1.1 200 OK Cache-Control: private Content-Type: text/plain; chars document.body.setAttribute('onclick', ''); } … … </script> […]