Forum Discussion
Ryannnnnnnnn
Sep 16, 2014Altocumulus
Hi mate,
here's one for you:
when HTTP_REQUEST {
Disable the stream filter for all requests
STREAM::disable
remove the compression offerings from the client
HTTP::header remove "Accept-Encoding"
}
when HTTP_RESPONSE {
Check if response type is text
if {[HTTP::header value Content-Type] contains "text"}{
Replace
STREAM::expression {@%3f@?@@%3d@=@}
Enable the stream filter for this response only
STREAM::enable
}
}
You'll need to apply a stream profile to your virtual server too.