See #16953 for background:
WebMvcAutoConfiguration currently configures a lot of components that are specific to use of Spring MVC with a templating engine to produce server-side generated text/html content.
We repurposed #16953 to deal with HiddenHttpMethodFilter, but there may be more that we can do.