Ipstenu / varnish-http-purge

Proxy Cache Purge
Apache License 2.0
46 stars 47 forks source link

Introduce `varnish_http_purge_headers` filter #32

Closed ocean90 closed 7 years ago

ocean90 commented 7 years ago

The filter allows you to change the HTTP headers to send with a PURGE request.

My use case is adding the X-Forwarded-Proto: https header since my vcl_hash method includes the protocol in the hash.

Ipstenu commented 7 years ago

Since GitHub is a jerk, I'm pulling this into the 4.1 branch, which is the version coming with more love for the REST API :)