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

 

相关文章:

  • 2021-10-25
  • 2021-06-07
  • 2021-09-24
  • 2021-12-19
  • 2021-05-31
  • 2021-07-01
猜你喜欢
  • 2022-12-23
  • 2021-09-09
  • 2021-04-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案