如何强制 Chrome 忽略 ERR_CONTENT_LENGTH_MISMATCH?

如何强制 Chrome 忽略 ERR_CONTENT_LENGTH_MISMATCH?

Chrome 强制执行此错误并拒绝呈现。我尝试访问旧路由器,控制台中出现 ERR_CONTENT_LENGTH_MISMATCH 错误。我用 Curl 查看了请求,它运行正常。整个文档都加载了结束</HTML>标记,但 Chrome 拒绝呈现页面!我如何强制 Chrome 忽略错误?

以下是来自 Curl 的标头:

$ curl -i "http://192.168.16.1" -H "Host: 192.168.16.1"
HTTP/1.1 200 OK
Server:
Content-Type: text/html; charset=iso-8859-1
Date: Sun, 08 Sep 2002 12:27:04 GMT
Last-Modified: Wed, 14 Feb 2007 07:54:55 GMT
Accept-Ranges: bytes
Connection: close
Content-Length: 14498
Cache-Control: no-cache

以下是 Curl 输出的结尾:

</DIV></BODY></HTML>
curl: (18) transfer closed with 29 bytes remaining to read

相关内容