Re: Issue: message/http or application/http

Excerpts from mail: 2-Feb-98 Re: Issue: message/http or .. Jacob
Palme@dsv.su.se (1058*)

> However, it is probably not permitted to include Content-Encoding
> or Transfer-Encoding in headings transported through e-mail,
> even if the heading is of type message/http, since those encoding
> format may not be permitted in e-mail?

Sure, you could do that.  You'd just have to encode it a layer up.  If
you had the equivalent of:

	Content-type: message/http
	Content-Transfer-Encoding: binary

	[binary data]

and you wanted to send it through email as a message/http type, you
could do something like this:

	Content-type: message/rfc822
	Content-Transfer-Encoding: base64

	Q29udGVudC10eXBlOiBtZXNzYWdlL2h0dHAKQ29udGVudC1UcmFuc2Zlci1FbmNvZGlu
	ZzogYmluYXJ5CgpbYmluYXJ5IGRhdGFdCg==

When you decoded this, you'd have the original message/http data.  

What's less clear to me is *why* you'd want to do this....  -- Nathaniel
--------
Imagination was given to man to compensate him for what he is not;
a sense of humor to console him for what he is.  -- Francis Bacon

Nathaniel Borenstein <nsb@fv.com>          |  FAQ & PGP key:
Chief Scientist, First Virtual Holdings    |  nsb+faq@nsb.fv.com

Received on Monday, 2 February 1998 08:51:59 UTC