Forum Discussion
Amine_Kadimi
MVP
Try something like this:
if { [HTTP::status] contains "500" and [HTTP::header exists "content-type"] } {
if { [string tolower [HTTP::header value "content-type"]] equals "text/html" }
{ # redirect here
}
}
Iggy_E
May 25, 2021Nimbostratus
Thanks, I'll try this and let you know.