]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-31887: Adds documentations for special multipart/signed handling (GH-4268)
authorSaptak Sengupta <saptak013@gmail.com>
Sun, 4 Nov 2018 22:12:34 +0000 (03:42 +0530)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 4 Nov 2018 22:12:34 +0000 (14:12 -0800)
This pull request adds some information about the special multipart/signed handling to clear about disabling header folding.

https://bugs.python.org/issue31887

Doc/library/email.generator.rst

index 2575a51300705febe2fb4572b0bf4071aaeba371..fc535a3e4399ff58f949a54fb307adef1b982f6d 100644 (file)
@@ -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)