commit | 062749ac577be62c2f14fe61c2167c9c5b909ea3 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Fri Jun 28 23:41:42 2002 +0000 |
committer | Barry Warsaw <barry@python.org> | Fri Jun 28 23:41:42 2002 +0000 |
tree | 9c97c5c0052cdf237b51b7caa2f16fabb771d489 | |
parent | 7c75c99a10691998b7e1506ede4f98eec28bd226 [diff] |
_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.