Wiki: iRules API




An iRule event triggered whenever the system receives a 100 Continue response from the server.


    if { [HTTP::version] != 1.1 }
      log "Buggy server: sent 100-Continue to non-1.1 client!"

Related Information

Available Commands:
  • clone - Causes the system to clone traffic to the specified pool or pool member regardless of monitor status.
  • forward - Sets the connection to forward IP packets.
  • HTTP::close - Closes the HTTP connection.
  • HTTP::cookie - Queries for or manipulates cookies in HTTP requests and responses.
  • HTTP::fallback - Specifies or overrides a fallback host specified in the HTTP profile.
  • HTTP::host - Returns the value of the HTTP Host header
  • HTTP::is_keepalive - Returns a true value if this is a Keep-Alive connection.
  • HTTP::is_redirect - Returns a true value if the response is a redirect.
  • HTTP::password - Returns the password part of HTTP basic authentication.
  • HTTP::payload - Queries for or manipulates HTTP payload information.
  • HTTP::request_num - Returns the number of HTTP requests that a client made on the connection.
  • HTTP::username - Returns the username part of HTTP basic authentication.
  • HTTP::version - Returns or sets the HTTP version of the request or response.
  • imid - Returns an i-mode identifier string.
  • IP::idle_timeout - Returns or sets the idle timeout value.
  • ip_ttl - Returns the TTL of the latest IP packet received.
  • lasthop - Sets the lasthop of an IP connection.
  • listen - Sets up a related ephemeral listener to allow an incoming related connection to be established.
  • nexthop - Sets the nexthop of an IP connection.
  • node - Sends the packet directly to the identified server node.
  • peer - Causes the specified iRule commands to be evaluated under the peer’s (opposite) context.
  • persist - Causes the system to use the named persistence type to persist the connection.
  • session - Utilizes the persistence table to store arbitrary information based on the same keys as persistence.
  • SSL::cert - Returns X509 SSL certificate data.

Sample Code:

  • Introduced: BIGIP-9.0.0