🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62605

Re: yEnc decoding implementation

#62605
From: Russ Allbery
Date: Tue, 31 Dec 2002 04:59
25 lines
2312 bytes
Explosive Crap Laser <this.is@fake.com> writes:

> Why not define a near-eight-bit-clean data transfer mechanism, similar
> to yEnc, that fits within MIME, similar to BASE64?  I think that would
> be the best of all possible outcomes.

It's not too hard to do this, since the hard work of the encoding system
was already done.  All you really have to do is take the basic yEnc
encoding format and define it as a CTE.  Some other edge cases fall out of
that and you have to figure out what to do with the various bits of
metadata that yEnc now puts in the body.

Leaving them there is one option, although a bit of a layering violation
that makes things more annoying for news readers to implement.  Putting
them into an X-yEnc header is another option.  Trying to figure out how to
adapt the MIME headers or add new ones in the same style is a third
option, the hardest one to pull off but probably the option with the most
future and the option that client authors will bless you for.

-- 
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: <yl3coe2374.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: <PM0003B2ED450C7E1E@minion.nashville.comcast.net> <20021229082401.490$G0@newsreader.com> <PM0003B30F3B8CE199@minion.nashville.comcast.net>

Show Full Headers
Complete Article Headers
Message-ID: <yl3coe2374.fsf@windlord.stanford.edu>
Subject: Re: yEnc decoding implementation
Date: Mon, 30 Dec 2002 20:59:59 -0800
From: Russ Allbery <rra@stanford.edu>
References: <PM0003B2ED450C7E1E@minion.nashville.comcast.net> <20021229082401.490$G0@newsreader.com> <PM0003B30F3B8CE199@minion.nashville.comcast.net>
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: 24
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1041310799 11986 171.64.13.23 (31 Dec 2002 04:59:59 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:FPumP6TFrhi+EVpU4AY7NAJ5yjA=