The spec lists two media types:
- application/javascript
- text/javascript
the second one is listed as obsolete in RFC4329; on the other hand, it lists application/ecmascript as valid and text/ecmascript, too,as obsolete.
I would propose to allow for all four, but marking the text/* as obsolete (ie, discourage authors to use it)
The spec lists two media types:
the second one is listed as obsolete in RFC4329; on the other hand, it lists application/ecmascript as valid and text/ecmascript, too,as obsolete.
I would propose to allow for all four, but marking the text/* as obsolete (ie, discourage authors to use it)