Version 2.5.1 (2014-04-??)
- Make option -i to work with multipart messages.
+ Make options -e/-i to work with multipart messages.
Open all files in binary mode. Output os.linesep instead of '\n'.
</para>
<para>
- Option -i can also ignore a multipart subpart of a MIME message. In that case
- the entire subtree of that multipart is removed and replaced with ignore
- warning.
+ Options -e/-i can also work with multipart subparts of a MIME message. In
+ case of -i the entire subtree of that multipart is removed and replaced with
+ ignore warning.
</para>
<para>
if boundary:
output("%s--%s--%s" % (os.linesep, boundary, os.linesep))
return
+ elif content_type in g.error_mask:
+ raise ValueError, "content type %s prohibited" % ctype
output_headers(msg)