Skip to content

Commit

Permalink
bpo-31887: Adds documentations for special multipart/signed handling (G…
Browse files Browse the repository at this point in the history
…H-4268)

This pull request adds some information about the special multipart/signed handling to clear about disabling header folding.


https://bugs.python.org/issue31887
  • Loading branch information
SaptakS authored and miss-islington committed Nov 4, 2018
1 parent 59668aa commit 622935d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Doc/library/email.generator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 622935d

Please sign in to comment.