Multiple HTTP::header inserts
Hello guys, I have a simple requirement insert 2 header values for application folks. they need to see the end client ip in 2 diff headers. I assumed the below iRule would accomplish that but I can see the end client ip being inserted only on SAP1-Forwarded-Client-IP, the other header SAP2-Forwarded-Client-I is empty.
When I expected was if the end client IP is 1.1.1.1 the in the header I expected to see
SAP1-Forwarded-Client-IP: 1.1.1.1
SAP2-Forwarded-Client-IP: 1.1.1.1
What I see now is
SAP1-Forwarded-Client-IP: 1.1.1.1
SAP2-Forwarded-Client-IP:
when HTTP_REQUEST { HTTP::header insert SAP1-Forwarded-Client-IP [IP::client_addr] and { HTTP::header insert SAP2-Forwarded-Client-IP [IP::client_addr] } }