From e453b8c17d04eddb73d4464b073a1913a7767647 Mon Sep 17 00:00:00 2001 From: Tiger Zhang Date: Tue, 16 Aug 2022 17:59:01 -0500 Subject: [PATCH] CUST-932 Add message/rfc822-headers as an rfc header --- flanker/mime/message/headers/wrappers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flanker/mime/message/headers/wrappers.py b/flanker/mime/message/headers/wrappers.py index 6e02a663..9a26bfb7 100644 --- a/flanker/mime/message/headers/wrappers.py +++ b/flanker/mime/message/headers/wrappers.py @@ -72,7 +72,7 @@ def is_headers_container(self): self.is_disposition_notification() def is_rfc_headers(self): - return self == 'text/rfc822-headers' + return self == 'text/rfc822-headers' or 'message/rfc822-headers' def is_message_external_body(self): return self == 'message/external-body'