Why does IE7 specify a mime-type of image/pjpeg rather than just image/jpeg?

后端 未结 4 632
夕颜
夕颜 2021-01-31 14:00

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

4条回答
  •  有刺的猬
    2021-01-31 14:39

    Because Microsoft likes to violate standards. There's no such MIME type as image/pjpeg. See for yourself: http://www.iana.org/assignments/media-types/media-types.xhtml#image

    The correct MIME type for JPEG is image/jpeg, progressive or not.

提交回复
热议问题