Kaydet (Commit) 6613fb84 authored tarafından Barry Warsaw's avatar Barry Warsaw

_encode_chunks(): Throw out empty chunks.

üst 24075493
......@@ -361,6 +361,8 @@ class Header:
# =?charset2?b?SvxyZ2VuIEL2aW5n?="
chunks = []
for header, charset in newchunks:
if not header:
continue
if charset is None or charset.header_encoding is None:
s = header
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment