Removing the charset=UTF-8 in Content-type

After some debugging I found that this charset=UTF-8 is added by tomcat. Couldn’t find where the config for this is however. You can set a breakpoint at org.hippoecm.hst.servlet.BinariesServlet#writeResponse method’s “response.setContentType(pageMimeType);” line and observe the response.getContentType header to verify.