title: Setting the content type in the response header from the view resolver not working
body: <p>Please excuse if this is too naive, I am new to Spring.</p>
  
  <p>I have a simple rest controller API which is sending the name of the view. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>@RequestMapping(value = "/test", method = RequestMethod.GET)
  public String adminWebUI(final Model model, final Locale locale) {
      return "index";
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>I am trying to set the content type in the response header as below, but this is not working. I am instead receiving the Content-Type: text/html;charset=ISO-8859-1 in the response header.Something else is overriding here or this is not the right way to set the content type, please help.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>    public InternalResourceViewResolver internalResourceViewResolver() {
          final InternalResourceViewResolver resolver = new InternalResourceViewResolver();
          final int order = 1;
          resolver.setSuffix(".jsp");
          resolver.setOrder(order);
          resolver.setContentType("text/html; charset=UTF-8");
          return resolver;
      }</code></pre>
  </div>
  </div>
  </p>