jetty.project icon indicating copy to clipboard operation
jetty.project copied to clipboard

Embedded jetty doesn't set the charset to content-type header

Open chiqiu opened this issue 1 year ago • 32 comments
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!

chiqiu avatar Jan 18 '24 13:01 chiqiu