Forum Discussion
jaskel_106221
Nimbostratus
Aug 27, 2007Header insertion (newbie alert)
Hey there,
So, I'm really new to iRules, and I question about a HTTP::header insert
Basically, I am looking to 'replace' the value of a custom(?) header if it exists in the current...
Kirk_Bauer_1018
Altostratus
Aug 28, 2007I'm not clear on what the "HTTP::header" command returns with no arguments? The complete header string? In that case this would only work if client-ip was the first header, correct?
You may want to use "HTTP::header exists" as follows:
if { [HTTP::header exists {"Client-IP"}] }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects