Forum Discussion
Lee_Sutcliffe
Jun 16, 2015Nacreous
This may do the trick.. but not sure if it's exactly what you're after:
when HTTP_REQUEST {
set xml_error "error=\"0\""
}
when HTTP_RESPONSE {
if { ([HTTP::header value Content-Type] contains "text/html" )&& [info exists xml_error] } {
<< - re-direct - >>
}
}