Line | |
---|
1 | <message> |
---|
2 | <header> |
---|
3 | <field> |
---|
4 | Content-Type: multipart/mixed; boundary="boundary"</field> |
---|
5 | </header> |
---|
6 | <multipart> |
---|
7 | <body-part> |
---|
8 | <header> |
---|
9 | <field> |
---|
10 | Content-Type: text/plain</field> |
---|
11 | </header> |
---|
12 | <body> |
---|
13 | first part |
---|
14 | </body> |
---|
15 | </body-part> |
---|
16 | <epilogue> |
---|
17 | |
---|
18 | From the RFC about ending boundary: |
---|
19 | |
---|
20 | =================================================================== |
---|
21 | NOTE TO IMPLEMENTORS: Boundary string comparisons must compare the |
---|
22 | boundary value with the beginning of each candidate line. An exact |
---|
23 | match of the entire candidate line is not required; it is sufficient |
---|
24 | that the boundary appear in its entirety following the CRLF. |
---|
25 | =================================================================== |
---|
26 | |
---|
27 | --boundary-- |
---|
28 | |
---|
29 | The above boundary should be part of the epilogue, too.</epilogue> |
---|
30 | </multipart> |
---|
31 | </message> |
---|
Note: See
TracBrowser
for help on using the repository browser.