We are using akamai's X-Akamai-Edgescape
in order to detect the territory of the user making the request. If it does not match users home territory, then we deny the request.
Our integration tests are using a locally hosted deployment of akamai proxy. Whenever they add X-Akamai-Edgescape
with any custom territory like XX
, the proxy overrides the header with its own value of the header.
Eg. From integration tests, we send X-Akamai-Edgescape=region_code=MA,dma=506,pmsa=1120,country_code=DE
and akamai overrides it to
X-Akamai-Edgescape:georegion=1,country_code=GB,region_code=EN
Is there a way to disable this overriding behavior on akamai proxy ?