为什么IE7指定一个MIME类型的图像/ pjpeg而不是只是图像/ JPEG? [英] Why does IE7 specify a mime-type of image/pjpeg rather than just image/jpeg?
本文介绍了为什么IE7指定一个MIME类型的图像/ pjpeg而不是只是图像/ JPEG?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
相信这是因为你正在使用的JPEG是一个渐进的JPEG,它有一个不同的MIME类型。
When uploading a file (jpeg) via a form in IE7 I am seeing a mime-type of "image/pjpeg" instead of "image/jpeg" (as I see in Firefox or similar). It's easy enough to work around this problem, but I'm just wondering why IE7 is behaving differently in this case?
解决方案
I believe it's because the JPEG you're working with is a progressive JPEG, which has a different mime-type.
这篇关于为什么IE7指定一个MIME类型的图像/ pjpeg而不是只是图像/ JPEG?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文