Add xkey and other headers for redirect, use for purge
authorMagnus Hagander <magnus@hagander.net>
Wed, 5 Oct 2022 14:37:51 +0000 (16:37 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 5 Oct 2022 15:00:28 +0000 (17:00 +0200)
commita079e1919feb4bc1b53aa0445255bfb50f12835d
tree1b36d10cf93551af9e2cba61ff68d124107c02be
parent86c117e48853ed68c7a44b927756772c6fe05423
Add xkey and other headers for redirect, use for purge

This way we'll purge the redirect whenever a post is hidden, so we'll
stop redirecting to it.
hamnadmin/hamnadmin/register/views.py
hamnadmin/hamnadmin/util/varnish.py
redirector/redirector.py