[issue38332] invalid content-transfer-encoding in encoded-word causes KeyError
Emmanuel Arias
report at bugs.python.org
Mon Sep 30 22:42:49 EDT 2019
Emmanuel Arias <emmanuelarias30 at gmail.com> added the comment:
Hello,
I am not a email expert, but according to RFC 1342 the enconding can be either "B" or "Q". So, I think is reasonable that when a not correct enconding is set, should be raise an exception
I think that we can improve the message raising a more specific Exception
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38332>
_______________________________________
More information about the Python-bugs-list
mailing list