Forum Discussion
skeenster
Jan 28, 2021Nimbostratus
TCL error Can't call after responding - ERR_NOT_SUPPORTED invoked from within "HTTP::host"
Hi Just upgraded to 14.1.2.6 and had some iRules broken in the process. I am seeing error below but struggling to resolve. TCL error Can't call after responding - ERR_NOT_SUPPORTED invoked from ...
Jan 28, 2021
Hi skeenter,
Add this line all affected iRules.
if { [HTTP::has_responded] } { return }
when HTTP_REQUEST {
if { [HTTP::has_responded] } { return }
elseif { [HTTP::host] equals "wwwapple.removed.com" && [string tolower [HTTP::uri]] starts_with "/pears" } {
HTTP::respond 307 Location "https://oranges.com[HTTP::uri]"
return
}
}
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