title: Web API 2 OData = $format not working: the request is always ignored
body: <p>I have a Web API OData project and everything is working great. I'm now trying to return xml instead of JSON using the $format parameter, as opposed to specifying a header request, and it is not working. I've tried these approaches:</p>
  
  <pre><code>http://localhost:3845/api/Customer?$format=application/xml
  http://localhost:3845/api/Customer?$format=xml
  http://localhost:3845/api/Customer?$format=application/xml;odata.metadata=full
  </code></pre>
  
  <p>All without success. This article says that it is possible: <a href="https://blogs.msdn.microsoft.com/webdev/2014/03/13/getting-started-with-asp-net-web-api-2-2-for-odata-v4-0/" rel="nofollow noreferrer">https://blogs.msdn.microsoft.com/webdev/2014/03/13/getting-started-with-asp-net-web-api-2-2-for-odata-v4-0/</a></p>
  
  <p>I have updated all of my NuGet packages, but it seems that the request is always ignored, and instead I get JSON every time.</p>