4 ms·
My favorite thing about browsers is that they sniff content that is sent to them to see what it is. For several different cases such as when the web server doe
by icefox 18y ago
My favorite thing about browsers is that they sniff content that is sent to them to see what it is. For several different cases such as when the web server does not sent the content type or to see if what was sent is probably a gif or javascript or maybe xml even if you say it is something else. The amount of sniffing and guessing is really amazing. The spec requires you must specify a content type. Guessing what a file is just seems like a world of hurt and pain in the long run.