irfans_38826
Feb 28, 2008Nimbostratus
Search and replace a field in HTTP Header
I know iRules are capable of searching and replacing contents of a field in HTTP header, what I am wondering can it be done on dynamic content, in my case I am wondering if you can search for a particular field and change the case of data in it, so from upper case make it lower, or from lower case make it upper case
Following is example
Incoming request
x-up-calling-line-id:18583360321
x-up-subno:N_NBI_SDG_1184168037000100831348
Outgoing request
x-up-calling-line-id:18583360321
x-up-subno:n_nbi_sdg_1184168037000100831348
In this case data will always be in same field and of same length, what I am looking for is changing the case of data in that field.
I appreciate if someone know the answer if this is possible.
-Irfan