Article View: news.software.nntp
Article #58125Re: comments on Jeremy's proposal
From: Eric A. Hall
Date: Thu, 11 Apr 2002 19:19
Date: Thu, 11 Apr 2002 19:19
78 lines
3362 bytes
3362 bytes
"J.B. Moreno" wrote:
>
> In article <3CB535C6.138D3BFB@ehsco.com>,
> Eric A. Hall <ehall@ehsco.com> wrote:
> > [first part]
> > Content-Type: application/frag
> > Content-Transfer-Encoding: yEnc
> > Content-Disposition: combine; filename=blah.mpeg; range=0xfoo-0xbar
> > Content-MD5: <this-part>
> > Etcetera: headers
> >
> > Content-Type: video/mpeg
> > Content-Transfer-Encoding: binary
> > Content-MD5: <whole-file>
> > X-Content-Binary-Size: <whole-file size>
> >
> > xxxx data xxxx
> > xxxx data xxxx
> This seems to indicate that you're using something like multi-part --
> if so, that's not going to fly.
The nesting is similar to multipart but it's definitely not multipart.
This same model is used for message/partial and message/external-body,
where the top-level entity (the body of the message) is a container which
has an additional subordinate entity.
Message/partial:
[first portion]
From: foo
Subject: blah
Content-Type: message/partial
From: bar
Subject: blah
Content-Type: video/mpeg
Content-Transfer-Encoding: 8bit
xxxx data xxxx
xxxx data xxxx
[second portion]
From: foo
Subject: message from bar
Content-Type: message/partial
xxxx data xxxx
xxxx data xxxx
Message/external-body:
From: foo
Subject: remote data
Content-Type: message/external-body; access-type=blah
Content-type: video/mpeg
Content-Transfer-Encoding: binary
[data at remote location]
In both of those cases, the message body is not what people normally
consider to be a message, nor are they multiparts. They are nested
entities, where the body of the 822 message is a container entity that
references another subordinate entity.
It is important to remember that not all MIME objects are messages. Any
MIME entity can be sent through mail/news if (1) the necessary transfer
headers are appended to the top of the MIME headers, and (2) the data is
mail-safe (line lenths, chars, etc). Sending an app/frag entity through
mail/news can be handled in the same way.
--
Eric A. Hall http://www.ehsco.com/
Internet Core Protocols http://www.oreilly.com/catalog/coreprot/
Technical Details
Message-ID:
<3CB5E1AB.B4670C69@ehsco.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!greywolf.labs.ntrg.comReferences:
<3CB535C6.138D3BFB@ehsco.com> <110420021440337859%planb@newsreaders.com>Show Full Headers
Complete Article Headers
Message-ID: <3CB5E1AB.B4670C69@ehsco.com> Subject: Re: comments on Jeremy's proposal Date: Thu, 11 Apr 2002 14:19:07 -0500 From: "Eric A. Hall" <ehall@ehsco.com> References: <3CB535C6.138D3BFB@ehsco.com> <110420021440337859%planb@newsreaders.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!greywolf.labs.ntrg.com Newsgroups: news.software.nntp Organization: http://extra.newsguy.com Lines: 77 NNTP-Posting-Host: p-887.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en-US,en X-Original-NNTP-Posting-Host: 192.168.10.10 X-Original-Trace: 11 Apr 2002 14:19:07 -0500, 192.168.10.10