Spring Boot, static resources and mime type configuration
问题 I'm facing a Spring Boot configuration issue I can't deal with... I'm trying to build an HelloWorld example for HbbTV with Spring Boot, so I need to serve my "index.html" page with mime-type="application/vnd.hbbtv.xhtml+xml" my index.html will be accessed as a static page, for instance http://myserver.com/index.html?param=value. with the following code, no matter how hard I try, I get a text/html content type. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//HbbTV//1.1.1//EN"