Forum Discussion
David__Pasch
May 02, 2017Altostratus
I was not able to test these, but either should get you the results you are looking for:
when HTTP_REQUEST {
if {[class match [HTTP::header "User-Agent"] equals ""]} {
reject
}}
OR
when HTTP_REQUEST {
if { [HTTP::header exists User-Agent]} { if { [HTTP::header User-Agent] equals "" } {
reject
}}}
Good Luck!