Forum Discussion
Troy_94246
Mar 27, 2015Nimbostratus
Add Hedder data to MSIE9 and devices with specific uri
I am trying to help out application team role out new application to user base that still runs IE9. User desktops are not going to be upgrade in time to application role out. Application works with ...
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
}
}
}
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