Forum Discussion
Thiyagu_163984
Nimbostratus
Oct 25, 2017iRule to replace http response data
I'm troubleshooting application issues where for some reason web servers are dropping some of the content in the HTTP response. Application team is working on few option to resolve the issue.
I...
Lee_Sutcliffe
Nacreous
Oct 25, 2017If you just want to replace content in the HTTP response, then I would use a Stream profile and a basic iRule.
when HTTP_REQUEST {
STREAM::disable
}
when HTTP_RESPONSE {
set oldString "Next line in readAODResponseStatusCode - 0"
set newString "Next line in readAODResponseStatusCode - 0000"
STREAM::expression {@$oldString@$newString@}
STREAM::enable
}
}
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
