commit | 749073af13fcb389059b182290f5cbc953222681 | [log] [tgz] |
---|---|---|
author | R David Murray <rdmurray@bitdance.com> | Wed Jun 22 13:47:53 2011 -0400 |
committer | R David Murray <rdmurray@bitdance.com> | Wed Jun 22 13:47:53 2011 -0400 |
tree | 9da44b14da5872581f1655829522841dd59e1060 | |
parent | 11cc475be79c123be0e587b12662cc70b7518348 [diff] [blame] |
#1874: detect invalid multipart CTE and report it as a defect.
diff --git a/Lib/email/errors.py b/Lib/email/errors.py index c2ea7d4..c04deb4 100644 --- a/Lib/email/errors.py +++ b/Lib/email/errors.py
@@ -55,3 +55,6 @@ class MultipartInvariantViolationDefect(MessageDefect): """A message claimed to be a multipart but no subparts were found.""" + +class InvalidMultipartContentTransferEncodingDefect(MessageDefect): + """An invalid content transfer encoding was set on the multipart itself."""