Forum Discussion
Erasing 2 Headers using http profile
Can anyone let me whether we can erase two HTTP headers using http profile "Request Header Erase" option.
- hoolio
Cirrostratus
Hi Kalyan, - Kalyan_Reddy_Da
Nimbostratus
Hi Aaron, - hoolio
Cirrostratus
Hrm... I thought I saw an F5 solution suggesting the space delimited header names would work. I just tested on 10.2 and found it didn't work. Sorry about that. - Steve_McCarthy_Historic F5 Account
Header Erase field takes a single header to remove. Multiple headers are not supported.
There are some good alternatives, however.
-
LTM Policy (http-header remove name headername) This is a good solution which should be fast, and doesn't (necessarily) incur the overhead of Tcl/iRule execution.
-
iRules - highly flexible, but extra overhead
a) HTTP::header remove headername Remove specified headername, add as many as desired
b) HTTP::header sanitize Remove ALL headers except for essential ones needed by the protocol
-
Recent Discussions
Related Content
* 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