7 lines
365 B
Plaintext
7 lines
365 B
Plaintext
# Import this snippet in the HTTP policy editor, then save the resulting draft.
|
|
acl vary_duplicate res.fhdr_cnt(Vary) eq 2
|
|
acl vary_encoding res.fhdr(Vary) -i Accept-Encoding
|
|
acl vary_combined res.fhdr(Vary) -i "Accept,Accept-Encoding" "Accept, Accept-Encoding"
|
|
|
|
http-response set-header Vary "Accept, Accept-Encoding" if vary_duplicate vary_encoding vary_combined
|