How to set conditional values to headers in the Header modification policy

Solution Verified - Updated -

Issue

  • Setting up the Header modification policy in order to achieve the following behavior, for a certain header:
    • If the header exists, the value should go trough unchanged
    • If the header is not present, add the header and its value (defined in the policy)

Environment

  • Red Hat 3scale API Management Platform (3scale)
    • 2 (On Premise)
    • SaaS

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In