Hi,
I am using a MimeTokenStream to parse a multipart message. I
use parseHeadless() as my system already parses the headers of
the multipart before giving me the input stream of its content.
But for some reason, the Content-Type header seems to be wrongly
parsed. The following code:
LOG.debug(" field: '" + f.getBody() + "'");
LOG.debug(" field: '" + f.getRaw().toString() + "'");
produces the following lines:
field: ' text/html'
field: 'Content-type: text/html'
See the extra space in the first line? I guess it should not
be there...
Any idea?
Regards,
--
Florent Georges
http://www.fgeorges.org/