Forum Discussion
hooleylist
May 28, 2008Cirrostratus
Unfortunately, the solution doesn't list which methods cause a conflict or give the CR which could be used to research the issue. Nor does it provide an example rule to work around the issue. You might consider adding constructive feedback on the solution in the comment section.
I think something like this would work. I don't know which methods need to have HTTP disabled, so I've just put in a dummy entry OTHER_METHOD. If it's only one method you could remove the RULE_INIT section and just use 'if [HTTP::method eq "MOVE"' instead.
when RULE_INIT {
List of the HTTP methods for which to disable the HTTP profile
set ::no_http_prof_methods [list \
MOVE \
OTHER_METHOD \
]
}
when HTTP_REQUEST {
Enable the HTTP filter by default
HTTP::enable
Check if the current request method is one to disable the HTTP filter for
if {[matchclass [HTTP::method] equals $::no_http_prof_methods]}{
Disable the HTTP filter
HTTP::disable
}
}
Aaron