您的位置:首页 > 其它

Your browser will not accept this data because of its Content-Encoding

2010-11-22 13:14 591 查看
今天打算在某个网站下载一个.bz2的文件时,遇到这样一个问题:

Your browser will not accept this data, /mirror.9grid.fr/plan9-1290391203/plan9.iso.bz2, because of its Content-Encoding.
Its Content-Type is application/octet-stream, and Content-Encoding is bzip2.
Your browser accepts Content-Type: */*, image/png, text/plain, text/html, application/xhtml+xml, application/xml.
Your browser accepts Content-Encoding: sdch, deflate, gzip.

我的浏览器是Chrome9 beta。

Google之后看到这样一个Firefox的解决方法:(原文 http://blog.1911census.co.uk/2009/01/content-encoding-error/

1) In the address bar type “about:config” (but without the inverted commas)
2) Tell it that you will be careful, Promise!!
3) In the filter type encoding
4) There should be one option reading “network.http.accept-encoding”
5) Click in the value column and type “true” (again without the inverted commas)
6) This should fix it and you can search to your hearts content.

试了一下,果然可行。

然后又搜索针对Chrome的类似的解决方案,半小时之后仍然无果 —— Chrome里没有“about:config”的支持。好在在 http://www.surfchen.org/archives/582 看到这样一句话:“chrome支持sdch压缩,另外不再支持bzip2压缩”,很是郁闷。

期待Chrome能早日支持“about:config”。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐