Forum Discussion
Robert_Sherrard
Nimbostratus
Jun 02, 2006Valid iRule for SOAPAction?
I'm looking to direct traffic based on find SOAPAction in a header... if the SOAPAction contains getWMRM... would this work?
when HTTP_REQUEST {
if { [matchclass [HTTP::header SOAPActio...
Colin_Walker_12
Jun 02, 2006Historic F5 Account
Assuming that "SOAPAction" is a valid header in your HTTP request, you wouldn't even need the matchclass section.
Your code would be as simple as:
if { [string tolower [HTTP::header SOAPAction] ] contains "getwmrm" } {
pool stringFound_pool
} else {
pool NotFound_pool
}
HTH,
Colin