🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57397

Re: [yEnc] A small MIME fix

#57397
From: Nuutti Kotivuori
Date: Tue, 19 Mar 2002 06:28
61 lines
3580 bytes
Eric A. Hall wrote:
> 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.

Exactly. Like everyone has pointed out here, 8bit is the proper CTE
for yEncoded data.

> 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.

[...]

> 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 idea was to fib just enough that MIME can be used as a carrier for
the data for the _current_ yEnc. I was just suggesting a way non-MIME
capable posting software can atleast produce the MIME messages,
without coding MIME support - just add those three headers.

I'm all for the proper MIME implementation of things - this is just a
small fix, like said in the subject.

[...]

>> 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.

But these parameters would mean a lot more work for the posting
software to generate them - and like you say below, this still
wouldn't be the right solution.

My solution above would just mean that MIME capable programs would not
present the yEnc message as text - and possibly even being able to
detect them without scanning the body, but that's secondary in this
case, even.

> 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.

Yes ofcourse, this is a work that must be done - but my suggestion is
just a simple hardcoded quickfix for yEnc. Then we can scrap yEnc for
the proper implementation.

-- Naked

Technical Details
Message-ID: <87elihcbqi.fsf@iki.fi>
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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!iad-peer.news.verio.net!news.verio.net!news.stealth.net!news.stealth.net!news.cc.tut.fi!uutiset.saunalahti.fi!localhost
References: <87k7s9d7tr.fsf@iki.fi> <1016494435.447075@ok-corral.gunslinger.net> <3C968113.D4E2A742@ehsco.com> <20020318195220.479$6R@newsreader.com> <3C969910.38C77BD4@ehsco.com>

Show Full Headers
Complete Article Headers
Message-ID: <87elihcbqi.fsf@iki.fi>
Subject: Re: [yEnc] A small MIME fix
Date: Tue, 19 Mar 2002 08:28:37 +0200
From: Nuutti Kotivuori <naked@iki.fi>
References: <87k7s9d7tr.fsf@iki.fi> <1016494435.447075@ok-corral.gunslinger.net> <3C968113.D4E2A742@ehsco.com> <20020318195220.479$6R@newsreader.com> <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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!iad-peer.news.verio.net!news.verio.net!news.stealth.net!news.stealth.net!news.cc.tut.fi!uutiset.saunalahti.fi!localhost
Newsgroups: news.software.nntp
Organization: SAUNALAHDEN asiakas
Lines: 60
NNTP-Posting-Host: cs183115.pp.htv.fi
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: tron.sci.fi 1016520151 21713 213.243.183.115 (19 Mar 2002 06:42:31 GMT)
X-Complaints-To: newsmaster@saunalahti.fi
NNTP-Posting-Date: 19 Mar 2002 06:42:31 GMT
User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i386-debian-linux)
Cancel-Lock: sha1:0WLyeUNBD0EONp3phP2vzEjBd0w=