Forum Discussion
walt_97468
Nimbostratus
Dec 02, 2008302 redirect string capture and replace
I have modified a previous post for this irule:
when HTTP_REQUEST {
HTTP::header replace "Host" "www.test.com"
}
when HTTP_RESPONSE {
HTTP::header repl...
hoolio
Cirrostratus
Dec 04, 2008Hi waltrich,
If you create a custom HTTP profile with chunking set to rechunk, LTM will update the content length and the browser will display the full response correctly.
If you need to rewrite the response content you can use a stream profile. But it would be better to use an iRule to configure the stream profile. This way you can explicitly enable the stream profile only on text responses (not requests and not binary responses). There are some examples on the STREAM::expression wiki page (Click here).
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