Closed
Description
Jetty version(s)
12.0.8
Jetty Environment
ee10
Java version/vendor (use: java -version)
JDK17 / temurin
OS type/version
Mac / Sequoia 15.5
Description
I was debugging Spring-Framework issue.
I think Jetty's ServletApiResponse has a bug.
In summarize,
ServletApiResponse add 'charset=null' when set Content-Type following order.
- application/json
- null
- application/problem+json

How to reproduce?
In the following order, set Content-Type.
- application/json
- null
- application/problem+json
Here's origin issue from Spring-Framework.
spring-projects/spring-framework#35087