uni
Nov 21, 2006Altostratus
switch -nocase option not working
I can't get the -nocase option working in the switch statement. Am I doing something wrong, or isn't this supported? I'm using version 9.1.1.
[root@lsnetg-edu7:Active] sgun b merge -
rule test-rule {
timing on
when HTTP_REQUEST {
switch -nocase [HTTP::uri] {
"/aaa" { HTTP::respond 200 content "[HTTP::uri] : aaa\n" }
default { HTTP::respond 200 content "[HTTP::uri] : default\n" }
}
}
}
BIGpipe: rule modification error:
01070151:3: Rule [test-rule] error:
line 3: [invalid switch: "-nocase"] [-nocase]