If stream s is a MIME multipart message, this function splits it and return a list of streams. If stream s is not a multipart message (that is, if is-mime-content-type(s, "multipart/*") returns false), then the function returns a list of one element—stream s (unchanged). The function does not guarantee that errors in the source stream are reported.
mime-split-multipart(s:stream) -> list of stream |
Name |
Type |
Description |
---|---|---|
s |
stream |
Specifies the input stream. |