Internet Explorer:外部文本文件仅以二进制格式提供 [英] Internet-Explorer: external text files are only available in binary format

查看:88
本文介绍了Internet Explorer:外部文本文件仅以二进制格式提供的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到一个奇怪的情况.仅在Internet Explorer中确实总是出现此问题.我的问题:在我的工作中,我开发了一个使用javascript和css的网站.所有javascript源代码和CSS规则都外包在外部文件中.令我惊讶的是,尚未调用javascript代码和CSS规则.通过下载并将其打开到文本编辑器中,我检查了负责任的文件.当我打开文件时,它们都是二进制格式. 请记住:仅在Internet Explorer中.在Chrome,Safari和Firefox中不存在此问题.

I am having trouble with a strange situation. The problem does always ocurres in Internet-Explorer only. My problem: at my work I have developed a webiste with javascript and css. All javascript sourcecode and css rules are outsourced in external files. For my suprise the javascript code and css rules haven't been invoked. I checked the responsible files, by downloading and opening them into a text editor. When I opened the files they were all in binary format. Remember: only in Internet-Explorer. In Chrome, Safari and Firefox doesn't exists this problem.

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

Another strange/funny thing is. I am using a proxy server. When I disabled it, these files are in text format.

我和管理员绝对不知道哪个选项错误或丢失.我有一个理论,即不会收到模仿类型或错误类型,因此浏览器认为这些是二进制文件.

The administrators and I have absolutly no idea which option is wrong or is missing. I've got the theory that a mimetype would not be received or wrong , so the browser thinks these are binaries.

预先感谢

推荐答案

可能是代理使用GZIP转发内容,但浏览器可能一开始不允许GZIP(仅放气).

It might be that the proxy uses GZIP to forward the content but the browser maybe didn't allow GZIP in the first place (deflated only).

这篇关于Internet Explorer:外部文本文件仅以二进制格式提供的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆