title: Entity version in odata using accept header in web api
body: <p>I am using Web API to create RESTful services.  I decided to using Accept header as a api versioning mechanism by following this implementation.
   <a href="http://blog.maartenballiauw.be/post/2013/03/08/Custom-media-types-for-ASPNET-Web-API-versioning.aspx" rel="nofollow">http://blog.maartenballiauw.be/post/2013/03/08/Custom-media-types-for-ASPNET-Web-API-versioning.aspx</a></p>
  
  <p>Accept: application/json; version=1</p>
  
  <p>For entity standardization and query capabilities, I planned to use Odata.  The problem currently I see is that the odata only supports(or only I know) the entity versioning using url.</p>
  
  <pre><code> modelBuilder1.EntitySet&lt;V1.Product&gt;("Products");
   modelBuilder2.EntitySet&lt;V2.Product&gt;("Products");
  
   Microsoft.Data.Edm.IEdmModel model1 = modelBuilder1.GetEdmModel();
   Microsoft.Data.Edm.IEdmModel model2 = modelBuilder2.GetEdmModel();
  
   config.Routes.MapODataRoute("ODataRoute1", "api\v1", model1);
   config.Routes.MapODataRoute("ODataRoute2", "api\v2", model2);
  </code></pre>
  
  <p>Is there any solution available for to configure odata to consider accept header ?</p>
  
  <p>Thanks in Advance.</p>