Forum Discussion
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 a...
hooleylist
Nov 14, 2011Cirrostratus
Or you could use not or ! to negate the match:
when HTTP_REQUEST {
if { not ([HTTP::header value johnsname] equals "default")} {
log local0. "it is not default"
}
}
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects