blob: e64d95275b7f00be6c2e94620df942598d3d07c3 [file] [log] [blame]
<message>
<header>
<field>
Content-Type: multipart/mixed; boundary="boundary"</field>
</header>
<multipart>
<preamble>
preamble
</preamble>
<body-part>
<header>
<field>
Content-Type: text/plain</field>
</header>
<body>
first part
</body>
</body-part>
<body-part>
<header>
<field>
Content-Type: text/plain</field>
</header>
<body>
from the rfc:
================================
encapsulation := delimiter transport-padding
CRLF body-part
================================
and also
================================
"Composers MUST NOT generate non-zero length transport
padding, but receivers MUST be able to handle padding
added by message transports."
================================
second part have a start boundary ending with spaces
and also have a boundary not at the beginning
--boundary
... that should be ignored
also a boundary with more data (a tab) shoud be ignored
--boundary
end of part
</body>
</body-part>
<epilogue>
epilouge</epilogue>
</multipart>
</message>