F5 HTTP response body rewrite

when HTTP_REQUEST {
    STREAM::disable
    HTTP::header remove "Accept-Encoding"
}

when HTTP_RESPONSE {
    if { [HTTP::header value Content-Type] contains "text"} {
       STREAM::expression "@http://@https://@"
       STREAM::enable
   }
}

 

posted @ 2020-08-10 19:24  贾春旺  阅读(407)  评论(0编辑  收藏  举报