You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org> on 2008/05/29 18:41:45 UTC

[jira] Updated: (MIME4J-21) [JW #1] Parsing a message without headers

     [ https://issues.apache.org/jira/browse/MIME4J-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Burrell Donkin updated MIME4J-21:
----------------------------------------

    Fix Version/s: 0.4

> [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
>            Assignee: Jochen Wiedmann
>             Fix For: 0.4
>
>
> http://mail-archives.apache.org/mod_mbox/james-server-dev/200708.mbox/%3ce75283b10708051908w38b3b7b5l31ef423d33efe014@mail.gmail.com%3e #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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org