Hello all…
I have a virtual server with an HTTP profile with compression enabled with selective. I am using the following iRule:
when HTTP_RESPONSE {
foreach header {Vary} {
while { [HTTP::header exists $header] } {
HTTP::header remove $header
}
}
}
When attempting to remove the vary header in the response to either replace elements or remove the vary altogether, it seems to always show up in the response. Am I presuming that the LTM does not allow the Vary header to be removed/touched by an iRule considering there’s a global option to disable it int he profile.
Disabling the vary header globally is not optimal to stay compliant with RFC2616, but I would like to be able to remove or replace this header for specific responses. Is there a better way of doing this short of disabling Vary within the profile?
This request stems from the MS IE6 issue when seeing the Vary header when attempting to open an Excel file. I am currently working with F5 Technical Support and have not been provided a solution/workaround as of yet.
Thank you for your time gents,
Jay Sawyer