mirror of
https://github.com/python/cpython.git
synced 2025-11-26 13:22:51 +00:00
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
This commit is contained in:
parent
59668aa8b7
commit
622935d9a6
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
Content Transfer Encoding techniques for encoding email messages for transport
|
||||||
over channels that are not "8 bit clean".
|
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, *, \
|
.. class:: BytesGenerator(outfp, mangle_from_=None, maxheaderlen=None, *, \
|
||||||
policy=None)
|
policy=None)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue