ltm rule command ICAP statusΒΆ

iRule(1)					  BIG-IP TMSH Manual					     iRule(1)

ICAP::status
       Returns the ICAP response status code.

SYNOPSIS
       ICAP::status

DESCRIPTION
       The ICAP::status command gets the ICAP response status code. For example, 100, 200, 204.

       Syntax

       ICAP::status

RETURN VALUE
       Return the ICAP response status code.

VALID DURING
       ICAP_RESPONSE

EXAMPLES
	when ICAP_RESPONSE {
	    if {[ICAP::status] == 204} {
		log local0. "ICAP server responded 204"
	    }
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-11.3.0 --First introduced the command.

BIG-IP						      2020-06-23					     iRule(1)