Forum Discussion
Troy_94246
Mar 27, 2015Nimbostratus
I ended up going this path and it tested good so far! IE9 was our issue. All IE9 users had Chrome plugin installed and needed Chrome=1 in header to get newer app GBL pages to work with old version off IE.
when HTTP_REQUEST {
set uri [HTTP::uri]
set replace_content 0
if { [HTTP::header "User-Agent"] contains "IE 9" } {
if { ($uri contains "PT_LANDINGPAGE.GBL") ||
($uri contains "_FL.GBL") ||
($uri contains "_FLU.GBL")} {
set replace_content 1
Disable the stream filter by default
STREAM::disable
HTTP::header remove "Accept-Encoding"
}
}
}
when HTTP_RESPONSE {
if {$replace_content equals "1"} {
Check if response type is text
if {[HTTP::header value Content-Type] contains "text"}{
Replace
STREAM::expression {@@ @}
Enable the stream filter for this response only
STREAM::enable
}
}
}