Re: MIME restructuring [was: Re: release-candidate/0.6]
lol, made my day! Simon On 05/16/2011 11:05 PM, Daniel Kahn Gillmor wrote: On 05/16/2011 04:50 PM, Daniel Kahn Gillmor wrote: So a message like this: A└┬╴multipart/signed 355339 bytes B ├┬╴multipart/mixed 353462 bytes C │├╴text/plain 235 bytes D │└╴image/jpeg attachment [foo.jpg] 352752 bytes E └╴application/pgp-signature attachment [signature.asc] 1030 bytes would come out with three parts: 1) C 2) D 3) E the new code assigns this message to 5 parts: 1) A 2) B 3) C 4) D 5) E This message should itself be a comparably complex message, with a tiny attached image of a geek with a bike. Feel free to use this in the test suite (the picture and this message are hereby released under the same license as notmuch itself). Note that if the mailing list attaches a footer, the MIME tree will be even more delightfully complicated, for added fun and games. --dkg ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
MIME restructuring [was: Re: release-candidate/0.6]
lol, made my day! Simon On 05/16/2011 11:05 PM, Daniel Kahn Gillmor wrote: > On 05/16/2011 04:50 PM, Daniel Kahn Gillmor wrote: >> So a message like this: >> >> A???multipart/signed 355339 bytes >> B ???multipart/mixed 353462 bytes >> C ???text/plain 235 bytes >> D ???image/jpeg attachment [foo.jpg] 352752 bytes >> E ??application/pgp-signature attachment [signature.asc] 1030 bytes >> >> would come out with three parts: >> >> 1) C >> 2) D >> 3) E >> >> the new code assigns this message to 5 parts: >> >> 1) A >> 2) B >> 3) C >> 4) D >> 5) E > > This message should itself be a comparably complex message, with a tiny > attached image of a geek with a bike. Feel free to use this in the test > suite (the picture and this message are hereby released under the same > license as notmuch itself). > > Note that if the mailing list attaches a footer, the MIME tree will be > even more delightfully complicated, for added fun and games. > > --dkg > > > > ___ > notmuch mailing list > notmuch at notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch