File with JPG extension acts like a GIF with a cat shooting a gun with heavy kickback [closed]

三世轮回 提交于 2019-12-02 20:39:19
Erty Seidohl

This is actually a .gif - look at the headers of the HTTP response.

The MIME type is image/gif

So it doesn't matter what the URL says at the end - it's the MIME type that determines how your browser interprets it.

A lot of sites use this (I guess to throw off harvesters?) imgur.com often reports the wrong extension, for example. Try going to i.imgur.com/yourpic.txt - it should still show up as a proper gif.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!