Although not defined by the http rfcs, the PURGE http verb is commonly used by systems such as Varnish, Squid and SAAS CDNs like Fastly to clear cached versions of certain paths. Currently it is not allowed by the chr module.

CommentFileSizeAuthor
#2 chr-purge-2825701-2.patch841 bytescyberwolf

Comments

Cyberwolf created an issue. See original summary.

cyberwolf’s picture

StatusFileSize
new841 bytes

Attaching a patch that takes care of allowing PURGE as the HTTP verb.
It also removes some duplicate code for other methods.