🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57377

Re: [yEnc] A small MIME fix

#57377
From: Eric A. Hall
Date: Tue, 19 Mar 2002 01:49
48 lines
3043 bytes
Curt Welch wrote:

> > > > Content-Type: application/x-yyencoded
> > > > Content-Transfer-Encoding: 8bit

> What makes you think the CRLF is not part of the data in a yEnc file?

Well, it would be if a Content-Type identifier were used to signify that
the entity contained yEnc output. And in that case, 8bit would work as a
natural transfer encoding for the structured output.

At that point you would have to reinvent a lot of the MIME features
however, and you'd be back to where we are now. You'd have to define an
entity header or a header block in the output for the real content-type,
for example. Why not define yEnc as a simple eight-bit encoding with these
escapes, and where <CRLF> is to be ignored (as with Base64), and keep
these features, maximizing the code already in place? Wasn't that the
general idea? or is the idea to fib just enough that MIME can be used as a
carrier for the data, without trying to conform to the model?

> The mime multipart stuff doesn't seem to fit the needs of Usenet
> at all.

MIME is not fixed in time or scope. Extend it however you wish.

> Does MIME have any type of application specific keywords to make this
> work?
> 
> Content-Type: application/x-yyencoded; x-crc=5a901c2f; x-offset=123000;
>    x-end=246000
> 
> etc. ???

Any content-type can define any parameters that it needs. Parameters
stack, so as long as the major media-type (application) doesn't define
that parameter already, the minor media-type (yEnc) can define whatever
parameters it needs.

That should not be read as endorsing this approach. If a CTE is defined,
we can define a generic application/partial media-type that provides the
service above (whole-file MD5, this-part MD5, etc) and which works with
base64, 7bit, X-yEnc, all of them equally.

-- 
Eric A. Hall                                        http://www.ehsco.com/
Internet Core Protocols          http://www.oreilly.com/catalog/coreprot/
Technical Details
Message-ID: <3C969910.38C77BD4@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!news1.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!greywolf.labs.ntrg.com
References: <87k7s9d7tr.fsf@iki.fi> <1016494435.447075@ok-corral.gunslinger.net> <3C968113.D4E2A742@ehsco.com> <20020318195220.479$6R@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <3C969910.38C77BD4@ehsco.com>
Subject: Re: [yEnc] A small MIME fix
Date: Mon, 18 Mar 2002 19:49:05 -0600
From: "Eric A. Hall" <ehall@ehsco.com>
References: <87k7s9d7tr.fsf@iki.fi> <1016494435.447075@ok-corral.gunslinger.net> <3C968113.D4E2A742@ehsco.com> <20020318195220.479$6R@newsreader.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!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: 47
NNTP-Posting-Host: p-143.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: 18 Mar 2002 19:49:12 -0600, 192.168.10.10