Forum Discussion
Marco_C__259700
Nimbostratus
Apr 18, 2016Replacing an Http header parameter name with iRule
Hi, I'm new with iRules,
Due to a customer requirement, we need to replace the name of a header parameter from "x-up-calling-line-id" to "msisdn". Also, all the requests that come with this param...
ekaleido
Cirrus
Apr 18, 2016Maybe....
when HTTP_REQUEST {
if { [TCP::local_port] == 80 && [HTTP::header exists x-up-calling-line-id] } {
set x-up-calling-line-id [HTTP::header values x-up-calling-line-id]
HTTP::header insert msisdn $x-up-calling-line-id
HTTP::header remove x-up-calling-line-id
}
}
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
