Isn't the plus sign a special character in Perl regexes? That is, wouldn't you need to use this instead:
qr'^application/amp\+html$'i,
Re:AMP: the missing controversy
by tankenmate on Sunday February 25, 2018 @07:38AM
(#16458619)
You're right, thanks!
I still forget sometimes the differences between BRE, SRE, and ERE (mostly due to vim defaulting one thing and perl the other).
If you want to put it in a separate file (such as a local config file) then you can just