Forum Discussion
Jad_Tabbara__J1
Oct 17, 2017Cirrostratus
Hey
I've only corrected you syntax
when HTTP_RESPONSE {
if { ! [HTTP::header exists "X-Content-Type-Options"] } {
HTTP::header insert "X-Content-Type-Options" "'nosniff'"
}
if { ! [HTTP::header exists "X-XSS-Protection"] } {
HTTP::header insert "X-XSS-Protection" "1; mode=block"
}
}
Now you should be able to create it.
Please give me a feedback
Regards