HTTP::method

Description

Returns the type of HTTP request method. This command replaces the BIG-IP 4.X variable http_method.

Syntax

HTTP::method

HTTP::method


Examples

Log the HTTP request method:
when HTTP_REQUEST {
   log local0. "HTTP Method: [HTTP::method]"
}

Sample log output:
Rule: <HTTP_REQUEST>: HTTP Method: GET