firefox关于MIME的介绍
我们要重点关注一下MIME探测。
我们注意这句话
Any HTTP/1.1 message containing an entity-body SHOULD include a Content-Type header field defining the media type of that body. If and only if the media type is not given by a Content-Type field, the recipient MAY attempt to guess the media type via inspection of its content and/or the name extension(s) of the URI used to identify the resource.
不过我们还是需要探测,即使给了Content-Type
这里讲解的更加详细
我们看看IE 的MIME 探测
阅读(1098) | 评论(0) | 转发(0) |