email.policy.EmailPolicy.refold_source

refold_source

If the value for a header in the Message object originated from a parser (as opposed to being set by a program), this attribute indicates whether or not a generator should refold that value when transforming the message back into stream form. The possible values are:

none all source values use original folding
long source values that have any line that is longer than max_line_length will be refolded
all all values are refolded.

The default is long.

doc_python
2016-10-07 17:32:54
Comments
Leave a Comment

Please login to continue.