Description
JavaDoc of MultipartBuilder#getSubType() reads:
Gets the multipart sub-type. E.g. alternative (the default) or parallel. See RFC 2045 for common sub-types and their meaning.
however builder creates multipart with null subtype:
Multipart multipart = MultipartBuilder.create().build(); new DefaultMessageWriter().writeMessage(multipart, System.out);
outputs:
MIME-Version: 1.0 Content-Type: multipart/null; boundary="-=Part.0.c3f59e98561a68df.16251ed82a4.feee6e1cf64afde8=-"
Expected that builder is initialized with some default subtype.
More over subtypes are listed in RFC 2046 (not in 2045):
Attachments
Attachments
Issue Links
- links to