Re: MIME restructuring [was: Re: release-candidate/0.6]

Subject: Re: MIME restructuring [was: Re: release-candidate/0.6]

Date: Mon, 16 May 2011 17:05:21 -0400

To: notmuch

Cc:

From: Daniel Kahn Gillmor


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
dkg-tiny.png
signature.asc (application/pgp-signature)

Thread: