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”。
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”。
相关文章推荐
- 奇葩问题:This file could not be checked in because the original version of the file on the server was moved or deleted. A new version of this file has been saved to the server, but your check-in comments were not saved
- because it violates the following Content Security Policy directive: "default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'". Note that 'script-src' was not explicitly set, so 'default-s
- This application failed to start because it could not find or load the Qt platform plugin "windows"
- This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary
- This may cause NPE so Data Binding will safely unbox it.
- make sure the content of your adapter is not modified from a background thread . but only from the
- This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its de 错误解决办法
- This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its
- This application failed to start because it could not find or load the Qt platform plugin "xcb" in "
- This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its de
- This application failed to start because it could not find or load the Qt platform plugin “windows”错
- 【git】updates were rejected because the tip of your current branch is behind its remote counterpart
- [iOS AppStore被拒]Your app or its metadata does not appear to include final content.
- This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its de 错误解决办法
- make sure the content of your adapter is not modified from a background thread . but only from the
- It is because of the existence of this spell, t
- This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary log
- Make sure the content of your adapter is not modified from a background thread, but only from the UI
- 有关This application failed to start because it could not find or load the Qt platform plugin "windows
- This application failed to start because it could not find or load the Qt platform plugin "windows"