Disabling HTTP Processing For Unrecognized HTTP Methods
Problem this snippet solves: The iRule below disables HTTP processing for requests using HTTP methods that are not recognized by the BIG-IP HTTP profile.
For example, Web-based Distributed Authorin...
Published Jan 30, 2015
Version 1.0Deb_Allen_18
Historic F5 Account
Joined September 25, 2004
Deb_Allen_18
Historic F5 Account
Joined September 25, 2004
Jason_Adams
Mar 09, 2017Employee
OPTIONS should be added to the switch statement:
The Linked DevCentral Article needs to be updated to include 'OPTIONS' HTTP Request Method.
when HTTP_REQUEST {
selectively disable HTTP processing for specific request methods
switch [HTTP::method] {
"MOVE" -
"COPY" -
"LOCK" -
"UNLOCK" -
"OPTIONS" -
"PROPFIND" -
"PROPPATCH" -
"MKCOL" { HTTP::disable }
}
}