0

I need an XSLT code to extract the X-Forwarded-for HTTP header from the incoming traffic on the DataPower load balancer.

1 Answers1

1
<xsl:variable name="xFwdFor" select="dp:http-request-header('X-Forwarded-for')"/>

This will give you the request header named 'X-Forwarded-for' in a variable called "xFwdFor".

Anders
  • 3,198
  • 1
  • 20
  • 43