Forum Discussion
James_Wrubel_48
Nimbostratus
Mar 06, 2006Removing Pragma header on https response
I have a very unusual problem that I hope an iRule can solve. Our F5 BigIP does SSL acceleration and load balancing for a pair of servers running Macromedia's Breeze product. We have a custom UI writt...
JRahm
Admin
Mar 06, 2006Just modifying Joe's blog entry yields this for your requirements:
when HTTP_REQUEST {
set foundmatch 0
if { ([HTTP::uri] contains "/api/xml/") and ([HTTP::header "User-Agent"] contains "")} {
set foundmatch 1
}
}
when HTTP_RESPONSE {
if {$foundmatch == 1} {
HTTP::version "1.1"
HTTP::header remove Pragma
HTTP::header replace Cache-Control no-store
HTTP::header remove Expires
}
}
Note that you'll need to replace with what IE typically places in that header. I don't have a sniffer capture of that handy.
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