Forum Discussion
Chris1269_13050
Nimbostratus
Aug 05, 2015How to filter within iRule for HTTP_RESPONSE
Hi all,
Is there anyway we can use an iRule to filter a HTTP_RESPONSE with whats in the HTTP header or something like that? We current use a filter like:
when HTTP_RESPONSE { if {[LB::server pool...
Kevin_Stewart
Employee
Aug 05, 2015If I may add,
You can actually omit the "value" argument if the header name doesn't collide with any of the HTTP::header subcommands. So in most cases:
HTTP::header Location
will produce the same result as
HTTP::header value Location
But more important, the Location response header is only ever present in a 30x redirect response. It may simply be that you're looking for the Location header in non-redirect traffic.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
