I'm trying to form a redirect to a specific endpoint -> /offers. I'm not exactly sure where to put the new header info in my flow. Here is the flow I added. It matches the verb and URL but, doesn't set the new header.
<Flow name="redirect-offers"> <Response> <Set> <StatusCode>302</StatusCode> <Header name="Location">http://www.google.com</Header> </Set> </Response> <Condition>(proxy.pathsuffix MatchesPath "/offers") and (request.verb = "GET")</Condition> </Flow>
Am I trying to set the header in the wrong place?