mime-parse
Parses a MIME message stored in stream s, and separates MIME headers and message body. Returns a stream that has message body content, decoded according to the "Content-Transfer-Encoding" header if needed. MIME headers are accessible via expression functions, like get-mime-header, is-mime-content-type and such. Reverts what was done by mime-flatten function. The function does not guarantee that errors in the source stream are reported.
Signature
mime-parse(s:stream) -> stream |
Parameters
Name | Type | Description |
---|---|---|
s | stream | Specifies the input stream. |