title: What content-type is set in response when we pass an array to produces condition in Spring MVC (@ResponseBody)
body: <p>For example if we have - </p>
  
  <pre><code>    @RequestMapping(value = "/someurl", method = {
          RequestMethod.POST, RequestMethod.GET}, produces = {
          MediaType.TEXT_HTML_VALUE, MediaType.APPLICATION_JSON_VALUE})
      @ResponseBody
  </code></pre>
  
  <p><strong>Edit</strong>
  What will be the response content-type?</p>
  
  <p>For two different <code>accept</code> headers - </p>
  
  <ol>
  <li>text/html, application/xhtml+xml, * /*</li>
  <li>*/ *</li>
  </ol>
  
  <p>Thanks</p>