Mantis - Resin
Viewing Issue Advanced Details
6259 minor always 06-10-19 03:37 06-19-19 12:55
nam  
ferg  
normal  
closed 4.0.62  
no change required  
none    
none  
0006259: add option to disable adding utf-8 to Content-Type mime-type header for spring boot support
Spring Boot has a JUnit test that checks the Content-Type header value. Resin fails that test because it appends utf-8 to the header.

In prior versions of that test, it was impossible for us to hack it by overriding the test method. But that is no longer possible because it is now package-private.

https://github.com/spring-projects/spring-boot/blob/b18fffaf14f9ce3e5651f44745019890e8a899c2/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/server/AbstractServletWebServerFactoryTests.java#L328 [^]

There are no notes attached to this issue.