Randell_375239
Oct 23, 2018Nimbostratus
Inserting multiple values for the same HTTP Header
Hi,
I'm trying to insert 2 values for the HTTP header X-Frame-Options and wasn't sure what the correct syntax is. The following doesn't seem to work:
when HTTP_RESPONSE { HTTP::header insert "X-Frame-Options" "SAMEORIGIN" HTTP::header insert "X-Frame-Options" {ALLOW-FROM https://test.com} }
What's the correct syntax to accomplish this?
Thanks.