Skip to content

Commit 622935d

Browse files
SaptakSmiss-islington
authored andcommitted
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
1 parent 59668aa commit 622935d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/library/email.generator.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ something that contains only ASCII characters, using the standard email RFC
3636
Content Transfer Encoding techniques for encoding email messages for transport
3737
over channels that are not "8 bit clean".
3838

39+
To accomodate reproducible processing of SMIME-signed messages
40+
:class:`Generator` disables header folding for message parts of type
41+
``multipart/signed`` and all subparts.
42+
3943

4044
.. class:: BytesGenerator(outfp, mangle_from_=None, maxheaderlen=None, *, \
4145
policy=None)

0 commit comments

Comments
 (0)