On Thu, Sep 03, 2015 at 03:45:48PM -0400, Phil Stracchino wrote:

> Now suppose I wanted to do the same for a second writer.  Adding:
> 
> /^Content-Transfer-Encoding:/i PREPEND X-Clacks-Overhead: GNU Iain M. Banks

Headers are passed through "header_checks" one at a time.  For each
input header at most one action is invoked.

You should also be aware the mime_header_checks and nested_header_checks
default to $header_checks.  Check the documentation for details.

>  Is it simply that I cannot prepend a second header by
> the same name?

No.

> Or is the second PREPEND not firing?

The first one is final.

> Or if I want multiple PREPENDs to fire on a single conditional match, do I 
> need to do
> something like this?
> 
> /^X-Clacks-Overhead:/ IGNORE
> /^Content-Transfer-Encoding:/i PREPEND X-Clacks-Overhead: GNU Terry
> Pratchett
>                                PREPEND X-Clacks-Overhead: GNU Iain M. Banks

That won't work either.

-- 
        Viktor.

Reply via email to