Commit Graph

3 Commits

Author SHA1 Message Date
cketti d1d7b60a09 Add helper method to decode message bodies
Depending on whether a Body implements RawDataBody (which indicates the class
retains the original encoding) the helper method either strips the transfer
encoding or simply returns the result of Body.getInputStream().

This should restore the original functionality. So saving messages in the
database should work fine again.
2014-12-08 16:32:23 +01:00
Tobias Baum 960d7ba026 Renamed method according to review comment 2014-09-17 20:30:28 +02:00
Tobias Baum d467dca32c Added testcases for parsing and removed unused methods for parsing 2014-09-14 11:05:55 +02:00