Add xkey headers to outgoing emails
authorMagnus Hagander <magnus@hagander.net>
Tue, 18 Jun 2019 12:24:06 +0000 (14:24 +0200)
committerMagnus Hagander <magnus@hagander.net>
Tue, 18 Jun 2019 12:25:01 +0000 (14:25 +0200)
commit41b0ff20f64787c7d380371286b207acc8b88cd1
treeb75b1f0d735bafc1340e22b8b3ff97c1143c3b5d
parent9899552d3398c0f9dca4540c23174d237c2a7517
Add xkey headers to outgoing emails

Instead of just our own x-pglm and x-pgthread, add specific xkey
headers. These are used by our Varnish frontends to purge more
efficiently.

For the time being, leave the older headers in place -- we need to have
the entire contents of the cache containing xkey headers before we can
start using xkey for purging, and only once that is done we will be able to
remove the non-xkey headers.
django/archives/mailarchives/api.py
django/archives/mailarchives/views.py