Is the MIME type 'image/jpg' the same as 'image/jpeg'?
2024-10-08 17:56:21
https://stackoverflow.com/questions/33692835/is-the-mime-type-image-jpg-the-same-as-image-jpeg
No, image/jpg
is not the same as image/jpeg
, only image/jpeg
is recognised as the actual mime type for JPEG files.
See https://tools.ietf.org/html/rfc3745, https://www.w3.org/Graphics/JPEG/ .
Serving the incorrect Content-Type of image/jpg
to IE can cause issues, see http://www.bennadel.com/blog/2609-internet-explorer-aborts-images-with-the-wrong-mime-type.htm.
最新文章
- C#函数与SQL储存过程
- MySQL的相关概念介绍
- 用Swift重写公司OC项目(Day2)--创建OC与Swift的桥接文件,进而调用OC类库
- Matlab验证公式取值范围
- XCODE 出现 The operation couldn't be completed.(LaunchServicesError error 0.)错误修复
- 拿到内存中dom元素的最后样式进行修改obj下的currentStyle方法
- apache开源项目--ibatis
- oracle sql语句
- Table 控件各元素及属性
- C#之FileInfo的简单操作
- nodejs开发辅助工具nodemon
- spring boot 添加拦截器的简单实例(springBoot 2.x版本,添加拦截器,静态资源不可访问解决方法)
- 一个Monkey测试的小坑
- vue项目中主要文件的加载顺序(index.html、App.vue、main.js)
- Chart:Grafana
- React 表单控件onSubmit
- zabbix安装及简单配置
- python常用内建模块--collections
- maven 打包报错(增加调试信息)
- JDBC:随机生成车牌号,批量插入数据库