This header appears to drive what writer is used when connecting Odata from Excel.
From looking over the available json writers, JsonLightODataWriter should be used, but can't match odata.metadata in https://github.com/Algo-Web/POData/blob/master/src/POData/Writers/Json/JsonLightODataWriter.php#L73
Backtracking from this, it seems this is removed by this line:
https://github.com/Algo-Web/POData/blob/master/src/POData/Writers/ResponseWriter.php#L74
, I'm not sure why. Just commenting this line doesn't fix the problem either though.
This header appears to drive what writer is used when connecting Odata from Excel.
From looking over the available json writers, JsonLightODataWriter should be used, but can't match odata.metadata in https://github.com/Algo-Web/POData/blob/master/src/POData/Writers/Json/JsonLightODataWriter.php#L73
Backtracking from this, it seems this is removed by this line:
https://github.com/Algo-Web/POData/blob/master/src/POData/Writers/ResponseWriter.php#L74
, I'm not sure why. Just commenting this line doesn't fix the problem either though.