I was just wondering, why are there so many mime-types for a single type? Like for javascript mime type could be text/javascriptor text/x-javascript or application/x-javascript or application/javascript. Why so?
wikipedia defines mime types as An Internet media type is a two-part identifier for file formats on the Internet. So, isn’t one format, say text/javascript isn’t enough to define JavaScript files? If so why there are tons?
Where no standard exists, or the standard is inaccessible or obscure, different people will each make up their own. Even when there is a standard, copy / paste programming and cargo cult practices tend to make any old pre-standard monsters very hard indeed to slay.
For the record, RFC 4329 specifies
application/javascriptandapplication/ecmascriptas standard, and even contains a historical overview of unofficial / ad-hoc types in relatively common use.