Forum Discussion
Rajesh_A_142089
Nimbostratus
Feb 04, 2014How to check for If not Redirect?
In below if statement how to check for if the request is not a redirect?
if { [HTTP::header is_redirect]} {}
MichaelatF5
Employee
Feb 05, 2014So why not just do what you are trying to accomplish on the inital response before checking for a redirect? What is the end goal?
when HTTP_RESPONSE {
set a 0
set b 0
set c 0
if { [HTTP::is_redirect] } {
set a 1
set b 1
set c 1
}
}
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