Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/42.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript Internet Explorer:外部文本文件仅以二进制格式提供_Javascript_Css_Internet Explorer - Fatal编程技术网

Javascript Internet Explorer:外部文本文件仅以二进制格式提供

Javascript Internet Explorer:外部文本文件仅以二进制格式提供,javascript,css,internet-explorer,Javascript,Css,Internet Explorer,我遇到了一个奇怪的情况。问题总是只在Internet Explorer中出现。我的问题是:在我的工作中,我用javascript和css开发了一个webiste。所有javascript源代码和css规则都外包到外部文件中。令我惊讶的是,javascript代码和css规则还没有被调用。我通过下载并将其打开到文本编辑器中,检查了相关文件。当我打开这些文件时,它们都是二进制格式的。 请记住:仅在Internet Explorer中。在Chrome中,Safari和Firefox不存在这个问题 另一

我遇到了一个奇怪的情况。问题总是只在Internet Explorer中出现。我的问题是:在我的工作中,我用javascript和css开发了一个webiste。所有javascript源代码和css规则都外包到外部文件中。令我惊讶的是,javascript代码和css规则还没有被调用。我通过下载并将其打开到文本编辑器中,检查了相关文件。当我打开这些文件时,它们都是二进制格式的。 请记住:仅在Internet Explorer中。在Chrome中,Safari和Firefox不存在这个问题

另一件奇怪/有趣的事是。我正在使用代理服务器。当我禁用它时,这些文件是文本格式的

管理员和我完全不知道哪个选项是错误的或缺失的。我有一个理论,mimetype不会被接收或出错,所以浏览器认为这些是二进制文件


提前感谢

可能是代理使用GZIP转发内容,但浏览器可能首先不允许GZIP(仅限泄密)。

我的第一个想法:代理使用GZIP转发内容,但浏览器可能不允许GZIP(仅限泄密)。。。但这只是我的两分钱