[jetty-users] DefaultServlet character encoding in Content-Type header

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jetty-users] DefaultServlet character encoding in Content-Type header

NikNik77771
For javascript, css, html and other files default servlet returns

Content-Type: application/x-javascript
(example is for js)

I think more reasonable is:
Content-Type:application/x-javascript; charset=utf-8

How to force Default servlet to correct response? May be somebody knows good workaround?

_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users