🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63409

Re: yEnc decoding implementation

#63409
From: Russ Allbery
Date: Mon, 20 Jan 2003 11:58
57 lines
3720 bytes
Jeremy <jeremy@exit109.com> writes:
> Russ Allbery  <rra@stanford.edu> wrote:

>>  1. Specify a new Content-Transfer-Encoding named x-yenc-combined.  The
>>     specified decoding for that CTE is exactly the same as a yEnc post is
>>     currently, including not changing any of the content not enclosed
>>     between =ybegin/=yend.

>>     This isn't a clean MIME CTE, and isn't suitable for
>>     standardization, since there is still structure contained in the
>>     message that's being hidden by the CTE.  It approaches a real CTE,
>>     though, if you define only those things between =ybegin/=yend as
>>     being the real content of the message and specify that a decoder
>>     should ignore all other content in the message.  It's close enough
>>     for the initial step.

> I skipped this step basically for two reasons.  The first was that it
> seems unnecessary; extraneous text content is already strongly
> discouraged in yEnc posts, so you can just define =y lines as extra,
> ignored data.

Except extraneous textual comment is possible, so if you want to eliminate
it, you have to already ask people to change what they're doing slightly.
It just seems like a good idea to have the first step be an absolutely
minimal one, so that the CTE change can be tested in isolation of any
other issues.

I see what your'e saying, though.

> The second reason is more significant.  A yEnc transfer-encoding needs
> (or really ought to have) an end-of-data marker,

Hm.  Why?  None of the other ones do.

You want to support that for legacy reasons, but I don't see any reason to
keep the end of data marker when you go to "pure" MIME way, way down the
road.

> The reason I put the filename there is just so a client can grab one
> header to get required metadata, thus not even needing to grab the
> overview.  But, even if this is done, it should probably be in
> Content-Disposition too anyway.

I'm not sure this is actually useful.  I guess it depends on the chances
of getting Content-Type into XHDR on binary servers and getting binary
download clients to use it, something I have no control over since I don't
run a binary server or write the clients.  :)

xBin solves this same problem in a different and probably easier way, if
one can get over the abuse of message IDs.

-- 
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: <yl8yxgyqvl.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> <5727b.31320d@archiver.winews.net> <ylof6xyaj0.fsf@windlord.stanford.edu> <ylptqszh2j.fsf@windlord.stanford.edu> <1043036218.711994@ok-corral.gunslinger.net>

Show Full Headers
Complete Article Headers
Message-ID: <yl8yxgyqvl.fsf@windlord.stanford.edu>
Subject: Re: yEnc decoding implementation
Date: Mon, 20 Jan 2003 03:58:38 -0800
From: Russ Allbery <rra@stanford.edu>
References: <PM0003B2ED450C7E1E@minion.nashville.comcast.net> <5727b.31320d@archiver.winews.net> <ylof6xyaj0.fsf@windlord.stanford.edu> <ylptqszh2j.fsf@windlord.stanford.edu> <1043036218.711994@ok-corral.gunslinger.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: 56
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1043063918 6526 171.64.13.23 (20 Jan 2003 11:58:38 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:I5do44sP8Hwxj6ysbeq/4NNIcWo=