Forum Discussion
Fincke
Mar 04, 2020Nimbostratus
remove http::header
I have tryed to make an iRule, witch shoul remove some http::headers in the responce.
when HTTP_RESPONSE {
foreach header {"P3P" "p3p" "Server"} {
HTTP::header remove $header
}
}
the "Server" header is removed, witch indicates the iRule works... BUT the "P3P" is not ??
is it actual the LTM witch is setting the p3p header ? and why
is there any other way to remove it ?
it is actual present too times in the respond :
- Last-Modified: Mon, 02 Mar 2020 14:56:00 GMT
- P3P: CP="{}"
- P3P: CP="{}"
- eneRCirrostratus
Is it working with the " " ? I thought it should look like this
when HTTP_RESPONSE { foreach header {P3P p3p Server} { HTTP::header remove $header } }
Maybe try an Policy. Really simple to configure
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