ietf-mta-filters
[Top] [All Lists]

Re: Limitation of editheader

2003-05-05 10:58:38

ned(_dot_)freed(_at_)mrochek(_dot_)com writes:

The draft says:

,----
| 3. Action addheader
|
|    Syntax:
|            "addheader" <name: string> <value: string>
|
|    The addheader action appends a header field to the existing
|    message header.
`----

Prepending would be a better default.

This sounds like a simple and reasonable solution; I'm for it.

I didn't think of this simple solution, so instead I imagined
something similar to deleteheader's :index and :last.  The addheader
:index would indicate the position the new header would be inserted,
at, and :last would start counting from the end instead.  This
solution appears more flexible, but I can't come up with an example
where prepending doesn't work.  I'm not convinced there aren't any,
though.


<Prev in Thread] Current Thread [Next in Thread>