Robert Burrell Donkin (JIRA) ha scritto: > [ > https://issues.apache.org/jira/browse/MIME4J-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Robert Burrell Donkin updated MIME4J-21: > ---------------------------------------- > > Description: > http://mail-archives.apache.org/mod_mbox/james-server-dev/200708.mbox/[EMAIL > PROTECTED] #1 > > Currently, Mime4j can only parse messages with headers. That's > not suitable > for parsing an HTTP message, because the typical situation is > in a servlet, > that doesn't see the headers. > > I'd propose a new method > > public parse(InputStream, BodyDescriptor) > > This method would be specified as emitting a sequence > > T_START_MULTIPART ... T_END_MULTIPART > > as opposed to > > T_START_MESSAGE T_START_HEADER ... T_END_HEADER > T_START_MULTIPART ... T_END_MULTIPART T_END_MESSAGE > > The required patch is relatively minor and should not complicate > the parser.
This addition make sense to me. Stefano --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]