cancel
Showing results for 
Search instead for 
Did you mean: 

iRules for inserting HTTP headers

SivaYenduri
Cirrus
Cirrus

Hello All,

 

Can someone help me with the iRules for adding the below headers in the HTTP_RESPONSE.

 

[Clear-Site-Data](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data)  

[Expect-CT](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect-CT)  

[X-Permitted-Cross-Domain-Policies](https://owasp.org/www-project-secure-headers/) 

[X-Download-Options](https://blogs.msdn.microsoft.com/ie/2008/07/02/ie8-security-part-v-comprehensive-protection/

 

Thanks in advance!!!

1 REPLY 1

Hi SivaYenduri,

when HTTP_RESPONSE { HTTP::header insert "Clear-Site-Data" "value" HTTP::header insert "Expect-CT" "value" HTTP::header insert "X-Permitted-Cross-Domain-Policies" "value" HTTP::header insert "X-Download-Options" "value" }