[ 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. was:http://mail-archives.apache.org/mod_mbox/james-server-dev/200708.mbox/[EMAIL PROTECTED] #1 Summary: [JW #1] Parsing a message without headers (was: [JochenParsing a message without headers) > [JW #1] Parsing a message without headers > ----------------------------------------- > > Key: MIME4J-21 > URL: https://issues.apache.org/jira/browse/MIME4J-21 > Project: Mime4j > Issue Type: Wish > Reporter: Robert Burrell Donkin > > 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 message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]