[fwd] Re: PGP/MIME implementors: text mode vs. binary mode? (from: hal@finney.org)
Taral
taral@taral.net
Thu Feb 15 17:59:00 2001
--wchHw8dVAp53YPj8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Feb 15, 2001 at 08:57:56AM +0100, Thomas Roessler wrote:
> What's your point here? Do you really say that MIME headers
> shouldn't be included, because it's a valid transformation to change
> a body part's content-type?
I'm saying that the Content-Transfer-Encoding header should not be
included, and the data should be the original 8bit data (pre-CTE). For
example:
-----
Content-Type: application/pdf
<pdf data here>
-----
would be hashed, whereas;
-----
Content-Type: application/pdf
Content-Length: ...
Content-Transfer-Encoding: base64
<base64 encoded pdf data here>
-----
would be the actual subpart placed in the email. Note that
Content-Length is NOT hashed.
--=20
Taral <taral@taral.net>
Please use PGP/GPG to send me mail.
"Never ascribe to malice what can as easily be put down to stupidity."
--wchHw8dVAp53YPj8
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjqMCsEACgkQ7rh4CE+nYEm+BACeOsfGBk5mmwuwGZBT35dJGndN
1goAoMO7juxYB1A0ucANSk7Mq1OgUmvr
=MQa6
-----END PGP SIGNATURE-----
--wchHw8dVAp53YPj8--