jetty.project
jetty.project copied to clipboard
Embedded jetty doesn't set the charset to content-type header
trafficstars
Jetty Version 12.0.3 Jetty Environment
ee10
Java Version
17
Question
When using Embedded Jetty, the setContentType() method in the class ServletApiResponse won't set the charset=utf8 automatically like the jetty 9 does. Is there any configuration needed to let jetty set it?
Thanks!