Clear Request Headers Policy
Removes all headers from the incoming request except for those in the exclude list.
Configuration
{
"name": "my-clear-headers-inbound-policy",
"policyType": "clear-headers-inbound",
"handler": {
"export": "ClearHeadersInboundPolicy",
"module": "$import(@zuplo/runtime)",
"options": {
"exclude": [
"HEADER_TO_LEAVE"
]
}
}
}
Read more about how policies work