Forum Discussion
cjunior
Jun 01, 2020Nacreous
Hello,
Could you write some example that you are expecting to reach?
e.g.
In case I need to search for "word and space" and replace with "onlyword" string, I do this way:
when HTTP_REQUEST {
HTTP::header remove "Accept-Encoding"
STREAM::disable
}
when HTTP_RESPONSE {
if { [HTTP::header value Content-Type] contains "text" } {
STREAM::expression {@word\sand\sspace@onlyword@}
STREAM::enable
}
}
Regards.