Chapter 3: Condition Reference
79
http.method=
Tests HTTP request methods against any of a common set of HTTP methods. A CPL parse error is
given if an unrecognized method is specified.
Syntax
http.method=GET|CONNECT|DELETE|HEAD|POST|PUT|TRACE|OPTIONS|TUNNEL|LINK|UNLINK
|PATCH|PROPFIND|PROPPATCH|MKCOL|COPY|MOVE|LOCK|UNLOCK|MKDIR|INDEX|RMDIR|COPY|
MOVE
where:
http.method= evaluates to true if the request method matches any of the methods specified.
http.method= evaluates to NULL if the request is not an HTTP protocol request.
Layer and Transaction Notes
•Use in <Proxy>, <Cache>, and <Exception> layers.
Applies to HTTP transactions.
See Also
• Conditions: admin.access=, ftp.method=, http.x_method=, im.method=, method=,
socks.method=
•Properties: http.request.version( ), http.response.version( )