2 Feb 18:10
XML part and MIME boundary
Francesco Gennai <francesco.gennai <at> isti.cnr.it>
2007-02-02 17:10:51 GMT
2007-02-02 17:10:51 GMT
Hi All,
in a MIME multipart message, should the last line of an XML part
(application/xml) end with a CRLF before the CRLF belonging to the
boundary line ?
Here is an example without the CRLF at the end of the last XML line:
------=_NextPart_000_104C2_01C746DB.01C442D0
Content-Type: application/xml;
name="test.xml"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="test.xml"
<?xml version="1.0" encoding="utf-8"?>
<xtest>
....xml lines removed.....
</xtest>
------=_NextPart_000_104C2_01C746DB.01C442D0
Is it correct ?
or should it be:
........ . . ..
.....
</xtest>
(Continue reading)
RSS Feed