What is the difference between these headers?
x- prefix) for a transitional period until
You should use
As far a browsers are concerned, there is no difference (at least in HTTP headers). This was just a change so that the
application/* MIME type groups had a consistent meaning where possible. (
Note that using
type attribute of a script element will cause the script to be ignored (as being in an unknown language) in some older browsers. Either continue to use
This isn't a problem in HTTP headers as browsers universally (as far as I'm aware) either ignore the HTTP content-type of scripts entirely, or are modern enough to recognise