summaryrefslogtreecommitdiff
path: root/alot/mail/headers.py
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-11-22 14:07:40 +0100
committerAnton Khirnov <anton@khirnov.net>2021-11-22 14:20:08 +0100
commitb3ead0d27758dd8933d4b4ecade3132b677530b8 (patch)
tree4e69d30cade1a4048e2c51df2e105c113448c544 /alot/mail/headers.py
parent42ea84cdef5ba5bbbeeb3b5e693b2a21679a2587 (diff)
mail/envelope: replace string literals with named constants
Diffstat (limited to 'alot/mail/headers.py')
-rw-r--r--alot/mail/headers.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/alot/mail/headers.py b/alot/mail/headers.py
index fa7f6414..d3e47e88 100644
--- a/alot/mail/headers.py
+++ b/alot/mail/headers.py
@@ -10,6 +10,13 @@ MAIL_REPLY_TO = 'Mail-Reply-To'
MAIL_FOLLOWUP_TO = 'Mail-Followup-To'
SUBJECT = 'Subject'
+DATE = 'Date'
+KEYWORDS = 'Keywords'
+
+MESSAGE_ID = 'Message-ID'
+USER_AGENT = 'User-Agent'
+
+MIME_VERSION = 'MIME-Version'
IN_REPLY_TO = 'In-Reply-To'
REFERENCES = 'References'