Forum Discussion
hooleylist
Jan 31, 2011Cirrostratus
This should work to check close TCP connections when a POST without a required header name is parsed:
when HTTP_REQUEST {
Check for POST requests
if {[HTTP::method] eq "POST"}{
if { not ([HTTP::header exists "my_required_header_name"])}{
TCP::close
}
}
}
Aaron