🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62818

Re: Power-Post 2003 - requesting input from authorities..

#62818
From: Russ Allbery
Date: Sun, 05 Jan 2003 20:07
75 lines
5309 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:

> it is a lot cleaner to consider each chunk, and it removes the worry of
> entity headers being rewritten (or whitespace changed) in a gateway.
> it's a better fit for the MIME way of doing things.  you did read my
> reply to Jeremy with an example?

Yeah, I get it now.  Sorry that I was so slow; I see what you're going for
and the approach makes sense to me.

And yes, for integration with MIME, what makes the most sense to me is to
put the signatures in each part, so each binary MIME segment would have
its own xBin hashes.  Which really does argue for something that you'd
also need for proper yEnc integration, namely some sort of MIME type that
represents a fragment of a file (and that also carries with it information
about what the content-type of the assembled file should be).

> I'm not aware of any other application/foo which works that way.  you're
> supposed to be able to hand off an individual application/foo file to a
> helper application, and it will do something useful to it.  that won't
> very well here.

Why not?  In fact, xBin makes that work quite well; the helper application
accumulates parts and assembles them into binaries.  Sure, a tighter
integration adds other, more useful features, but that by itself seems
pretty reasonable.

Anyway, there aren't any other alternatives as far as I can tell unless
you invent a new top-level MIME content-type namespace.

> message/* and multipart/* are used for mechanisms internal to the
> workings of MIME decoder.  it'd be much better to have a proper
> message/foo defined.

Huh... I thought you couldn't use message/*, but it looks like I was
wrong, or at least I can't see the rule that I thought there was about
message/*.  message/rfc822 and message/partial restrict encodings, but it
doesn't look like message/* itself does.

Nonetheless, I really don't believe message/* isn't what you're looking
for.  Quoting from RFC 2046:

   It is frequently desirable, in sending mail, to encapsulate another
   mail message.  A special media type, "message", is defined to
   facilitate this.

This is not what you're trying to do.  You don't want to put a full
message (news or mail) inside the chunking system; you want to put a
single attachment in there that doesn't have its own headers.  That
doesn't match the definition of message/*.

multipart/* isn't the droid you're looking for.  multipart/* contains
other MIME parts; that's the exact opposite of what you're trying to
build.

> anyhow, this is besides the point.  MIME can be extended some other day.
> you'd only need to add another encoding to the xBin appendices.

MIME is completely orthogonal to encodings.  The RFC that defines MIME
also defines a base64 encoding so that there's a common starting point,
but all all that MIME proper provides in the encoding department is a
standard way to indicate which encoding that you're using.  You can easily
use yEnc or uuencode as part of MIME if you want to (although it's kind of
pointless to use uuencode instead of base64).

Sometimes I'm tempted to write some sort of Eliza bot to automatically
post refutations to people in this newsgroup who say MIME is an encoding
until the point is made through sheer repetition.  :)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <ylof6vxswg.fsf@windlord.stanford.edu>
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!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <yw73wdhe9p2r$.dlg@meowing.net> <1rhecsa6zr.fsf@thrir.ifi.uio.no> <14dfgjkm6p6u3.dlg@meowing.net> <1rznqk8qqs.fsf@thrir.ifi.uio.no> <ylk7hopk7n.fsf@windlord.stanford.edu> <1rlm248lyi.fsf@thrir.ifi.uio.no> <yln0mko1gk.fsf@windlord.stanford.edu> <20030102003252.529$hA@newsreader.com> <ylof70m4sh.fsf@windlord.stanford.edu> <20030102232803.181$Go@newsreader.com> <ylptre223l.fsf@windlord.stanford.edu> <1risx6joso.fsf@ellifu.ifi.uio.no> <ylvg16gkp8.fsf@windlord.stanford.edu> <1rof6xiyow.fsf@ellifu.ifi.uio.no> <ylisx5y9h2.fsf@windlord.stanford.edu> <1rfzs9inbi.fsf@ellifu.ifi.uio.no> <yly961o7qv.fsf@windlord.stanford.edu> <1r65t5i2kd.fsf@ellifu.ifi.uio.no> <ylptrczqi8.fsf@windlord.stanford.edu> <1rk7hjg0rd.fsf@ellifu.ifi.uio.no>

Show Full Headers
Complete Article Headers
Message-ID: <ylof6vxswg.fsf@windlord.stanford.edu>
Subject: Re: Power-Post 2003 - requesting input from authorities..
Date: Sun, 05 Jan 2003 12:07:11 -0800
From: Russ Allbery <rra@stanford.edu>
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <yw73wdhe9p2r$.dlg@meowing.net> <1rhecsa6zr.fsf@thrir.ifi.uio.no> <14dfgjkm6p6u3.dlg@meowing.net> <1rznqk8qqs.fsf@thrir.ifi.uio.no> <ylk7hopk7n.fsf@windlord.stanford.edu> <1rlm248lyi.fsf@thrir.ifi.uio.no> <yln0mko1gk.fsf@windlord.stanford.edu> <20030102003252.529$hA@newsreader.com> <ylof70m4sh.fsf@windlord.stanford.edu> <20030102232803.181$Go@newsreader.com> <ylptre223l.fsf@windlord.stanford.edu> <1risx6joso.fsf@ellifu.ifi.uio.no> <ylvg16gkp8.fsf@windlord.stanford.edu> <1rof6xiyow.fsf@ellifu.ifi.uio.no> <ylisx5y9h2.fsf@windlord.stanford.edu> <1rfzs9inbi.fsf@ellifu.ifi.uio.no> <yly961o7qv.fsf@windlord.stanford.edu> <1r65t5i2kd.fsf@ellifu.ifi.uio.no> <ylptrczqi8.fsf@windlord.stanford.edu> <1rk7hjg0rd.fsf@ellifu.ifi.uio.no>
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!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 74
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1041797232 286 171.64.13.23 (5 Jan 2003 20:07:12 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:W1goIgpIiIaqc3YYCg9aWhq9MBs=