Change MIME type mapping for JavaScript to text/javascript
#33197
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Currently Spring maps
js
files to theapplication/javascript
MIME type, as can be seen in mime.types.According to https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#textjavascript
Please update the mapping, so that JavaScript files are served in compliance with RFC 9239.
The text was updated successfully, but these errors were encountered: