Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Charset issue in jetty 12 headers

Hello all,

I use jetty 12.0.3 and in jetty-http module in org/eclipse/jetty/http/encoding.properties I have the following lines:

...
text/html=utf-8
text/plain=iso-8859-1
...

How when I get response from server I have in my headers:

Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Content-Language: en-US
Content-Type: text/html;charset=iso-8859-1
Date: Tue, 23 Jan 2024 18:24:54 GMT
Expires: 0
Pragma: no-cache
Server: Jetty(12.0.3)

As you see it is text/html but charset is not utf-8.

Could anyone say if it is a bug or I misunderstand something?

Best regards, Pavel


Back to the top