Forum Discussion
Ken_Wong_48678
Sep 15, 2005Historic F5 Account
http payload
hi,
I am trying to write an irule to rewrite the html content. I want toange the content type in the http payload. Is it possible to do? Any suggestions?
I use the following rule can show the payload but which is not the html content. How can I get the html content and change it? TIA!
Regards,
Ken
when CLIENT_ACCEPTED {
TCP::collect
}
when CLIENT_DATA {
set pl [TCP::payload]
log local0. "The payload is $pl"
}
- drteeth_127330Historic F5 AccountThere are also HTTP::collect and HTTP::payload functions. You can search the forum for examples.
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