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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content