new

fun new(mimeType: String): Multipart

Creates a new empty #SoupMultipart with a randomly-generated boundary string.

Note that @mime_type must be the full MIME type, including "multipart/".

See also: ctor@Message.new_from_multipart.

Return

a new empty #SoupMultipart of the given @mime_type

Parameters

mimeType

the MIME type of the multipart to create.