]> granicus.if.org Git - python/commit
_split_header(): The code here was terminally broken because it didn't
authorBarry Warsaw <barry@python.org>
Fri, 28 Jun 2002 23:41:42 +0000 (23:41 +0000)
committerBarry Warsaw <barry@python.org>
Fri, 28 Jun 2002 23:41:42 +0000 (23:41 +0000)
commit062749ac577be62c2f14fe61c2167c9c5b909ea3
tree9c97c5c0052cdf237b51b7caa2f16fabb771d489
parent7c75c99a10691998b7e1506ede4f98eec28bd226
_split_header(): The code here was terminally broken because it didn't
know anything about RFC 2047 encoded headers.  Fortunately we have a
perfectly good header splitter in Header.encode().  So we just call
that to give us a properly formatted and split header.
Header.encode() didn't know about "highest-level syntactic breaks" but
that's been fixed now too.
Lib/email/Generator.py