------------------------------------------------------------
revno: 1151
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Mon 2008-12-22 17:24:44 -0800
message:
  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.
modified:
  Mailman/Defaults.py.in

=== modified file 'Mailman/Defaults.py.in'
--- a/Mailman/Defaults.py.in    2008-06-30 15:32:26 +0000
+++ b/Mailman/Defaults.py.in    2008-12-23 01:24:44 +0000
@@ -1090,10 +1090,14 @@
     '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',
     ]
 



--
Stable, maintained release series
https://code.launchpad.net/~mailman-coders/mailman/2.1

You are receiving this branch notification because you are subscribed to it.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to