mimepart:Subparts(subparts[, type, name, filename, headers])
subparts
parameter. Mime objects are created using easy:Mime().
Mime parts are created using mime:AddPart().
Optionally, this method can also initialize the mime part object to
the data specified in the optional arguments type
, name
, filename
,
and headers
. Passing these arguments is equivalent to calling the
methods mimepart:Type(), mimepart:Name(), mimepart:Filename(),
and mimepart:Headers(), respectively.
Note that after this methods succeeds, the mime object handle specified
in subparts
belongs to the multipart part and must not be freed explicitly.
It may however be updated by subsequent calls to mime API functions.