5 ms·
The unfortunate thing with mime-types, is that even though you get text/* or image/*, they are not reliable. For example, how do you ask "is this an image I ca
by phene 14y ago
The unfortunate thing with mime-types, is that even though you get text/* or image/*, they are not reliable. For example, how do you ask "is this an image I can reliably put into an <img/> tag and have it successfully render?" From what I've seen, the only options are whitelists of specific content types or extensions.