james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohan Hart (JIRA)" <mime4j-...@james.apache.org>
Subject [jira] Updated: (MIME4J-180) exception expected when mime part has no end boundary and parsing is strict
Date Sun, 31 Oct 2010 19:56:24 GMT

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

Rohan Hart updated MIME4J-180:
------------------------------

    Attachment: TuncTest.java

junit4 test

> exception expected when mime part has no end boundary and parsing is strict
> ---------------------------------------------------------------------------
>
>                 Key: MIME4J-180
>                 URL: https://issues.apache.org/jira/browse/MIME4J-180
>             Project: JAMES Mime4j
>          Issue Type: Improvement
>    Affects Versions: 0.6
>            Reporter: Rohan Hart
>            Priority: Minor
>         Attachments: TuncTest.java
>
>
> It would simplify my code if, when parsing strictly, the body text stream provided by
a mime part would throw an exception, eg., EOFException, when the part has no end boundary.
 This seems semantically more correct.
> The current behaviour means that I can't just pass the stream but have to wrap it in
a proxy which knows about the real stream, the original mime parser and the sequence of events
which lead to a check for the end of boundary.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message