You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2023/08/02 12:28:10 UTC
[Bug 65995] Change JavaScript MIME type from application/javascript to text/javascript
https://bz.apache.org/bugzilla/show_bug.cgi?id=65995
--- Comment #6 from Alex Melnikov <al...@gmail.com> ---
Hello!
I'm wondering why this change also breaks existing applications setting
Content-Type to 'application/javascript'. I'm totally agree that Tomcat should
not use obsolete mime types.
I can understand if Tomcat prints a warning about obsolete mime type, but in
our case Tomcat returns http response code 406 and not returning response body.
For us it not critical, we can update our code. But for some other people this
can trigger more problems.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org