summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaptak Sengupta <saptak013@gmail.com>2018-11-04 22:12:34 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-11-04 22:12:34 (GMT)
commit622935d9a69d12e125e470ce9a9ff3cad9e8e296 (patch)
treea648347baf86749797ed9ca85a4218f4439030ab
parent59668aa8b7f174b59304eab833c1c1181886c3c6 (diff)
downloadcpython-622935d9a69d12e125e470ce9a9ff3cad9e8e296.zip
cpython-622935d9a69d12e125e470ce9a9ff3cad9e8e296.tar.gz
cpython-622935d9a69d12e125e470ce9a9ff3cad9e8e296.tar.bz2
bpo-31887: Adds documentations for special multipart/signed handling (GH-4268)
This pull request adds some information about the special multipart/signed handling to clear about disabling header folding. https://bugs.python.org/issue31887
-rw-r--r--Doc/library/email.generator.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/email.generator.rst b/Doc/library/email.generator.rst
index 2575a51..fc535a3 100644
--- a/Doc/library/email.generator.rst
+++ b/Doc/library/email.generator.rst
@@ -36,6 +36,10 @@ something that contains only ASCII characters, using the standard email RFC
Content Transfer Encoding techniques for encoding email messages for transport
over channels that are not "8 bit clean".
+To accomodate reproducible processing of SMIME-signed messages
+:class:`Generator` disables header folding for message parts of type
+``multipart/signed`` and all subparts.
+
.. class:: BytesGenerator(outfp, mangle_from_=None, maxheaderlen=None, *, \
policy=None)