Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Jetty 9 rewriting charset=utf-8 on response headers

Hello,

The latest versions of Jetty 9 are rewriting the content-type response headers, turning charset=utf-8 into charset=UTF-8.

It looks like there's some debate over which is "correct", but regardless, I would rather like to maintain the behaviour of our application, and keep the "utf-8" version.

A very similar issue came up before regarding similar rewriting of the request headers, and a org.eclipse.jetty.http.HttpParser.STRICT option was added to turn off an optimisation which caused this behaviour.

Would it be desirable to make this apply to response headers as well?

I've submitted a bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=418888

Here's the previous bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=414449

Thanks,

Ben


--
http://bens.me.uk



Back to the top