Article View: news.software.nntp
Article #62557Re: yEnc decoding implementation
From: Russ Allbery
Date: Mon, 30 Dec 2002 00:53
Date: Mon, 30 Dec 2002 00:53
78 lines
5233 bytes
5233 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:
> [Russ Allbery]:
>> That's the top-level CTE. You could still use a CTE of x-yenc in
>> a part of the multipart, perfectly legally.
> I'm not convinced, consider RFC 2046:
> 5.2.2. Partial Subtype
> [...] In particular, even in environments that support binary or
> 8bit transport, the use of a content-transfer-encoding of "8bit"
> or "binary" is explicitly prohibited for MIME entities of type
> "message/partial". This in turn implies that the inner message must
> not use "8bit" or "binary" encoding.
Yes, that's message/partial. What does that have to do with the part of a
multipart?
It's true that message/partial has a bunch of problems from a Usenet
standpoint if you want to use it to post binaries across multiple articles
(which is *not* what a multipart MIME message is). But, again, yEnc
doesn't solve that problem either. It doesn't let you use
message/partial; it makes up its own metadata and embeds it in the
encoding. So the limitations of message/partial aren't relevant to a
discussion of why yEnc isn't a CTE.
There's some discussions to be had here if the intention is to lift the
metadata included in the yEnc encoding format into something reasonable
like headers rather than stuck in magic body strings, but one wouldn't
even have to do that. That would be something that people should deal
with before formal standardization, but there's nothing preventing one
from starting with magic body strings to present metainformation inside a
CTE of x-yenc, to get things started.
All of the objections I've heard to doing this in a more MIME-friendly way
are of the form "the MIME standards encourage (but do not require) people
to do things the right way, doing things the right way is too hard, and
therefore we have to avoid MIME completely in case some of the common
sense rubs off." There are lots of partial compromise solutions that were
rejected out of hand because the yEnc author was unwilling to learn about
MIME.
Putting metainformation in body strings is also a mistake, but do you
really think anyone would have bitched as much about that (particularly
given that there isn't a really obvious better solution) if at least the
message were clearly tagged as being in yEnc with a CTE rather than using
these thrice-damned magic strings?
But, at least from my perspective, most of us who felt that way were also
old curmudgeons who think that Usenet sucks as a way of transporting
binaries as it stands right now, like Curt was saying. I know I didn't
feel like spending a lot of time arguing people into doing binary
encodings right when that's just a patch over a system that's
fundamentally broken for the purpose for which people are using it. So as
a result, we don't have much influence over the outcome. That makes
sense, and I don't begrudge it.
The whole way that people exchange binaries on Usenet is a protocol
disaster, and adding one more disaster on top of the rest really doesn't
make that much of a difference to the overall cleanliness of the system.
But just because I don't find solving just the encoding problem without
addressing the fundamental issues a particularly worthwhile thing to spend
time on doesn't mean that I lose whatever taste I have, so I periodically
bitch about yEnc just because of how ugly it is. (And by that, I don't
intend to imply that the author is not intelligent. He is, and he has
good ideas. He just didn't do sufficient research first into the issues
involved in creating an encoding format and therefore failed to learn from
all of the hard lessons that other people have learned over the past 22
years of playing with this stuff.)
--
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:
<ylr8c0jpjl.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-mailReferences:
<PM0003B2ED450C7E1E@minion.nashville.comcast.net> <20021229082401.490$G0@newsreader.com> <yllm28od76.fsf@windlord.stanford.edu> <slrnb0usj6.ll3.usenet@dexter.hensema.net> <1rsmwggzs3.fsf@thrir.ifi.uio.no> <ylel80l6sh.fsf@windlord.stanford.edu> <1rk7hsgxp9.fsf@thrir.ifi.uio.no>Show Full Headers
Complete Article Headers
Message-ID: <ylr8c0jpjl.fsf@windlord.stanford.edu> Subject: Re: yEnc decoding implementation Date: Sun, 29 Dec 2002 16:53:02 -0800 From: Russ Allbery <rra@stanford.edu> References: <PM0003B2ED450C7E1E@minion.nashville.comcast.net> <20021229082401.490$G0@newsreader.com> <yllm28od76.fsf@windlord.stanford.edu> <slrnb0usj6.ll3.usenet@dexter.hensema.net> <1rsmwggzs3.fsf@thrir.ifi.uio.no> <ylel80l6sh.fsf@windlord.stanford.edu> <1rk7hsgxp9.fsf@thrir.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: 77 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1041209582 812 171.64.13.23 (30 Dec 2002 00:53:02 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:Ywoql+3JM9ZV70I2MhoqhuXIHqc=