apigee / devrel

Common solutions and tools developed for Apigee
Apache License 2.0
181 stars 159 forks source link

JS callout should test addition scenario instead of removal #566

Closed danistrebel closed 2 years ago

danistrebel commented 2 years ago

The current implementation assumes that the tracking headers are always set by Apigee which isn't necessarily the case. To make this work, we should test for a scenario where the policy adds a header instead of removing it.