Home
Sign Up
Sign In
V2EX
›
前端开发
浏览器解析图片是依靠 content-type: 吗
vevlins
·
Aug 15, 2018
· 2344 views
This topic created in 3029 days ago, the information mentioned may be changed or developed.
解析
浏览器
依靠
图片
2 replies
•
2018-08-16 00:06:19 +08:00
InternetExplorer
Aug 15, 2018
1
1
靠蒙(误
这种要看浏览器的实现方式的,一般是先看 content-type,再看 后缀,最后可能会检查文件开始的一些字节,再最后就真的只能靠蒙了
MinonHeart
Aug 16, 2018 via iPad
1
2
https://mimesniff.spec.whatwg.org
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2301 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 32ms ·
UTC 00:17
·
PVG 08:17
·
LAX 16:17
·
JFK 19:17
♥ Do have faith in what you're doing.
❯