Provide a MapODataRoute extension for accepting Per-route Message Handler.
Scenario:
For Excel 2010, since it does not send accept header when importing data, i would like to modify the accept header myself in a message handler and apply it to only Odata specific routes.
Comments: OData $batch doesn't need this as we already have a working implementation without it. For the scenario of wanting other custom message handlers, it is reasonable to write a custom extension method that adds in the custom message handler.
Scenario:
For Excel 2010, since it does not send accept header when importing data, i would like to modify the accept header myself in a message handler and apply it to only Odata specific routes.
Comments: OData $batch doesn't need this as we already have a working implementation without it. For the scenario of wanting other custom message handlers, it is reasonable to write a custom extension method that adds in the custom message handler.