Forum Discussion
michaelw3
Feb 26, 2018Nimbostratus
irule error x-content-type-options
I am trying to create the following irule but keep getting error message.
when HTTP_RESPONSE {
if {!([HTTP::header exists "X-Content-Type-Options" ])} {
HTTP::header insert "X-Content...
Lee_Sutcliffe
Feb 26, 2018Nacreous
Make sure you include the close bracket at the end:
when HTTP_RESPONSE {
if {!([HTTP::header exists "X-Content-Type-Options"])} {
HTTP::header insert "X-Content-Type-Options" "nosniff"
}
}
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