diff options
author | Mark Sapiro <mark@msapiro.net> | 2008-12-22 17:24:44 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2008-12-22 17:24:44 -0800 |
commit | d5646b28aed100dea3d15426645531ce00bbf085 (patch) | |
tree | dda741e822171a135e732da82522e3c09d43cb7e | |
parent | ee65b899773b805d0381fd01a8c1cbb3514d94ac (diff) | |
download | mailman2-d5646b28aed100dea3d15426645531ce00bbf085.tar.gz mailman2-d5646b28aed100dea3d15426645531ce00bbf085.tar.xz mailman2-d5646b28aed100dea3d15426645531ce00bbf085.zip |
Reordered the headers in PLAIN_DIGEST_KEEP_HEADERS as these are the ones that
control header sequence in the RFC 1153 digest and added some comments to help
clarify the situation.
-rw-r--r-- | Mailman/Defaults.py.in | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index fcf474a5..a10e2976 100644 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -1090,10 +1090,14 @@ MIME_DIGEST_KEEP_HEADERS = [ 'Message', ] +# The order in this list controls the order of the RFC 1153 digest headers. +# Also, any headers in this list will be kept in the MIME digest even if they +# don't appear in the MIME list above. Finally, headers appearing in both +# lists must be casewise the same or duplication can result in the digest. PLAIN_DIGEST_KEEP_HEADERS = [ - 'Message', 'Date', 'From', - 'Subject', 'To', 'Cc', - 'Message-ID', 'Keywords', + 'Message', + # RFC 1153 headers in order + 'Date', 'From', 'To', 'Cc', 'Subject', 'Message-ID', 'Keywords', 'Content-Type', ] |