John45_41805
Nov 10, 2011Nimbostratus
Using if HTTP::header value Content-Type contains "text"
When I choose something as my content type...lets call it ..johnsname
do i have to define johnsname in the F5 or assuming I know my header info it will be detected by the F5 automatically and read it and perform the filter i apply..
basically I want to confirm if i had the following code:
if {[HTTP::header value johnsname] not "default"}
Then I could assume the F5 would automatically read my header look for the assigned value of johnsname and as long as it wasn't default it would perform the actions i listed below that string ?
I'm brand new to iRules and want to make sure I have a clear understanding.