Forum Discussion
James_Yang_9981
Altostratus
Nov 20, 2007remove accept-encoding header on WAM 4500
I'm currently implement WA 4500 in customer's envionment, their server has enabled compress. after WA online, I think it's better to disable server compress that will cause WA use more CPU power to de...
hoolio
Cirrostratus
Nov 20, 2007Hi,
You can use the HTTP::header commands in the HTTP_REQUEST_SEND event if you force their evaluation in the clientside context (Click here).
when HTTP_REQUEST_SEND {
clientside {
if {[HTTP::header exists "Accept-Encoding"]}{
HTTP::header remove "Accept-Encoding"
}
}
}
or:
when HTTP_REQUEST_SEND {
if {clientside {HTTP::header exists "Accept-Encoding"}}{
clientside {HTTP::header remove "Accept-Encoding"}
}
}
Aaron
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