Forum Discussion
tarsier_90410
Oct 17, 2011Nimbostratus
HTTP::respond - bug or improper use?
When using HTTP::respond 302 Location "https://<...>" in the HTTP_RESPONSE when the server also issued a 302, the LTM's 302 does not appear to work and the client receives the location specified by th...
Michael_Yates
Oct 17, 2011Nimbostratus
Hi tarsier,
I would like to verify your findings. Can you be more specific on how you implemented your HTTP::respond and it didn't work?
I tried the following against a web page that was trying to specifically do a 302 and my iRule overrode it.
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/redirect" } {
HTTP::respond 302 Location "http://google.com"
}
}
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