Forum Discussion
Stanislas_Piro2
Apr 18, 2016Cumulonimbus
Hi,
it is not possible to change HTTP Method...
The method OPTIONS is dedicated to answer which are supported methods by the server.
try this irule to answer with the list of supported methods:
when HTTP_REQUEST {
if {[HTTP::method] equals "OPTIONS"} {
HTTP::respond 200 -version "1.1" noserver \
"Allow" "OPTIONS, TRACE, GET, HEAD, POST" \
"Public" "OPTIONS, TRACE, GET, HEAD, POST" \
"Connection" "Close"
}
}