Is the MIME type 'image/jpg' the same as 'image/jpeg'?

Posted 蚂蚁flow

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Is the MIME type 'image/jpg' the same as 'image/jpeg'?相关的知识,希望对你有一定的参考价值。

 

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

 

以上是关于Is the MIME type 'image/jpg' the same as 'image/jpeg'?的主要内容,如果未能解决你的问题,请参考以下文章

The type 'System.Object' is defined in an assembly that is not referenced

Access restriction: The type 'JPEGCodec' is not API

Access restriction: The type 'BASE64Decoder' is not API

Element 'beans' cannot have character [children],because the type's content type is elem

The cast to value type 'System.Decimal' failed because the materialized value is null. Eithe

关于Access restriction: The type 'Application' is not API (restriction on required library)(示例