I have a software running Undertow server (does not work as part of any container).
My static resources served with the ResourceHander in the PathResourceManager are UTF-8 encoded, but the mime type sent by the PathResourceManager does not contain an encoding.
I would rather not bend to creating a whole new MimeMappings table and setting it up.
Is it possible to use a handler to add charset to responses with CONTENT-TYPE starting with `text / '?
source share