Chinaunix首页 | 论坛 | 博客
  • 博客访问: 500801
  • 博文数量: 53
  • 博客积分: 4150
  • 博客等级: 上校
  • 技术积分: 825
  • 用 户 组: 普通用户
  • 注册时间: 2005-10-17 08:51
文章分类

全部博文(53)

文章存档

2011年(8)

2010年(28)

2009年(13)

2008年(4)

我的朋友

分类: LINUX

2010-06-02 00:09:28

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 探测
阅读(1057) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~