Forum Discussion
hooleylist
Jan 07, 2013Cirrostratus
Hi Ken,
Is the server sending a chunked or compressed response? Those are two reasons that the stream filter might not match (assuming the stream filter is set correctly).
You can prevent chunking by setting the proxied request to HTTP 1.0 in HTTP_REQUEST:
https://devcentral.f5.com/wiki/iRules.CreditCardScrubberUsingStream.ashx
Don't allow response data to be chunked
if { [HTTP::version] eq "1.1" } {
if { [HTTP::header is_keepalive] } {
HTTP::header replace "Connection" "Keep-Alive"
}
HTTP::version "1.0"
}
And to prevent compression, you can remove the Accept-Encoding header from the proxied request in HTTP_REQUEST.
HTTP::header remove Accept-Encoding
Aaron