https://bz.apache.org/bugzilla/show_bug.cgi?id=65995

--- Comment #2 from Christopher Schultz <ch...@christopherschultz.net> ---
I agree we should wait for publication of that standard to change the default
mapping. Anyone can change this themselves at any point, of course.

RFC 4329 specifically (a) defines text/javascript and text/ecmascript and (b)
immediately obsoletes them[1]. LOL.

I think text/javascript is superior to application/javascript because
application/* MIME types are not supposed to have charset parameters.

On the other hand, Mozilla says serving with a charset parameter is practically
prohibited[2].

So I guess we go back to BOMs and <script charset=""> which is totally stupid.

[1] https://www.rfc-editor.org/rfc/rfc4329.html#section-3
[2]
https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#textjavascript

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to