Generator's constructor: The documentation was incorrect regarding how

header wrapping gets done when maxheaderlen <> 0.  The header really
gets wrapped via the email.Header.Header class, which has a more
sophisticated algorithm than just splitting on semi-colons.
This commit is contained in:
Barry Warsaw 2003-11-19 02:22:36 +00:00
parent 3997f58a0c
commit f8d3bcc77e
1 changed files with 2 additions and 3 deletions

View File

@ -40,9 +40,8 @@ mailbox format files.
Optional \var{maxheaderlen} specifies the longest length for a Optional \var{maxheaderlen} specifies the longest length for a
non-continued header. When a header line is longer than non-continued header. When a header line is longer than
\var{maxheaderlen} (in characters, with tabs expanded to 8 spaces), \var{maxheaderlen} (in characters, with tabs expanded to 8 spaces),
the header will be broken on semicolons and continued as per the header will be split as defined in the \module{email.Header}
\rfc{2822}. If no semicolon is found, then the header is left alone. class. Set to zero to disable header wrapping. The default is 78, as
Set to zero to disable wrapping headers. Default is 78, as
recommended (but not required) by \rfc{2822}. recommended (but not required) by \rfc{2822}.
\end{classdesc} \end{classdesc}