Resource interpreted as Image but transferred with MIME type text/plain 警告解决方案
2013-05-20 10:08
465 查看
首先这 不是 一个异常是一个 警告,那么警告就要 有 警告的解决方案,一般来说这种情况很少是后台代码的问题。
我们先假定 是 标签问题,那么解决方案是 将 img 中的src改成"具体值"或是 直接删掉这个属性就可以解决。
但是很显然是由于外网服务器造成,那么我们换一种思考方式,有些服务器的磁盘在满的时候会将一些图片之类的大文件转换成字符串流,好了,果然在action后面接了参数,那
么就是 磁盘问题,此时清理磁盘就可以了,要对自己的代码有自信啊。清理完磁盘果然OK了。
我们先假定 是 标签问题,那么解决方案是 将 img 中的src改成"具体值"或是 直接删掉这个属性就可以解决。
但是很显然是由于外网服务器造成,那么我们换一种思考方式,有些服务器的磁盘在满的时候会将一些图片之类的大文件转换成字符串流,好了,果然在action后面接了参数,那
么就是 磁盘问题,此时清理磁盘就可以了,要对自己的代码有自信啊。清理完磁盘果然OK了。
相关文章推荐
- Chrome 报 Resource interpreted as Script but transferred with MIME type text/plain 警告的解决办法
- Chrome 报 Resource interpreted as Script but transferred with MIME type text/plain 警告的解决办法
- Chrome 报 Resource interpreted as Script but transferred with MIME type text/plain 警告的解决办法
- web页面 显示 Resource interpreted as Stylesheet but transferred with MIME type text/plain的错误警告
- Resource interpreted as Stylesheet but transferred with MIME type text/plain
- 关于 Resource interpreted as Script but transferred with MIME type text/plain问题的处理
- Resource interpreted as Stylesheet but transferred with MIME type text/plain
- Resource interpreted as Script but transferred with MIME type text/plain:
- Resource interpreted as Script but transferred with MIME type text/plain
- 建站记录2-CSS文件未加载-已解决-Resource interpreted as Stylesheet but transferred with MIME type text/plain
- 关于chrome Resource interpreted as Script but transferred with MIME type text/html的问题
- web——css和图片突然加载不了,console报错:Resource interpreted as script but transferred with MIME type text/html.
- golange 错误如下 Resource interpreted as Script but transferred with MIME type text
- 警告:Resource interpreted as Stylesheet but transferred with MIME type application/x-css
- Resource interpreted as Script but transferred with MIME type text/html
- Resource interpreted as Stylesheet but transferred with MIME type text/html:以及Uncaught SyntaxError:
- 关于chrome Resource interpreted as Script but transferred with MIME type text/html的问题
- Resource interpreted as Document but transferred with MIME type application/json laravel异常请求返回警告
- Java过滤器引发的异常:Resource interpreted as Stylesheet but transferred with MIME type text/html
- Resource interpreted as Document but transferred with MIME type application/json ...