-
Sub-task
-
Resolution: Done
-
Major
-
None
-
None
Charset UTF-8 in Content-Type Header is in EAP 7.1 now set as default.
When:
If a resource method returns a Text media type without an explicit charset, Resteasy will add "charset=UTF-8" to the returned Content-Type header.
@Produces("text/*")
or
@Produces("application/xml*")
Perform:
Warn about default UTF-8 charset and suggest to set resteasy.add.charset to false in web.xml <context-param> if the functionality is not wanted.
Links: