Forum Discussion
Bubbagump_12531
Oct 30, 2013Nimbostratus
Ah, brilliant. That works a peach. Thanks so much for your help on this one!
- uniOct 31, 2013AltostratusAn interesting issue. RFC 2616 section 4.2 says that header names are case insensitive, in which case I think the BigIP HTTP::header replace and remove should be case insensitive too.
- shaggyFeb 04, 2014NimbostratusAccording to devcentral's description of HTTP::header, https://devcentral.f5.com/wiki/irules.http__header.ashx, the HTTP::header command should treat header names as case-insensitive.
- eey0re_68979Sep 04, 2015AltocumulusTested in 11.6.0, [HTTP::header remove "X-Forwarded-For"] is case insensitive and removes all case permutations of the header, avoiding the need for a foreach loop. The original answer above is now sufficient.