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”
}