Forum Discussion
bluestar007_339
Nimbostratus
Dec 08, 2017Irule error
Hi,
I am getting error on the below rule
when HTTP_RESPONSE {
if { !([ HTTP::header exists "Public-Key-Pins-Report-Only “ ])} { HTTP::header insert "Public-Key-Pins-Report-Only" "aaaa...
Lee_Sutcliffe
Nacreous
Dec 08, 2017You have a number of syntax errors, I assume you want the information in one header, if so, please try this iRule
when HTTP_RESPONSE {
if {!([HTTP::header exists "Public-Key-Pins-Report-Only"])} {
HTTP::header insert "Public-Key-Pins-Report-Only" "aaaaasdsdsdsdsdsdsdsadsdsdsd\"; pin-sha256=\"sdsdsdsdsdssdsdsdsdsd=\"; pin-sha256=\"sdsdsdssadsadsadsasadsadsadsadsad\"; max-age=5184000; includeSubDomains;"
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
