Forum Discussion
jay_41157
Apr 12, 2011Nimbostratus
scrub out going traffic.
HI,
I need to be able to scrub the response going to the end user.
What I need is the F5 only send back data that is between the below tags and drop the rest. ..... ...
hooleylist
Apr 16, 2011Cirrostratus
Good point. You can also handle the change in content length by using a custom HTTP profile with response chunking set to rechunk:
http://devcentral.f5.com/wiki/default.aspx/iRules/STREAM__expression.html
When performing stream replacements where the original and replacement strings are different lengths, you must force BIG-IP to discard the server's Content-Length header and chunk the data before sending the response onto the client. This can be done by applying a custom HTTP profile to the virtual server with Response Chunking set to "Rechunk". See AskF5 SOL6422 for details.
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