Disabling HTTP Processing For Unrecognized HTTP Methods
Published Jan 30, 2015
Version 1.0Was this article helpful?
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 }
}
}