🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57404

Re: [yEnc] A small MIME fix

#57404
From: Claus Färber
Date: Tue, 19 Mar 2002 09:27
40 lines
2514 bytes
Eric A. Hall <ehall@ehsco.com> schrieb/wrote:
> Neither "8bit" nor "binary" would be appropriate. "8bit" says that the
> entity conforms to mail-safe line limits (998 max) where the <CRLF> is
> part of the data, while "binary" says that the entity does not conform to
> mail-safe line-limits and that <CRLF> is part of the data.

If yEnc is a Content-Type, the yEnc-*encoded* file makes up the
MIME entity.

The CRLF *is* part of the yEnc file.

> In both cases, conversion to Base64 could legally happen and the
> understood treatment of <CRLF> would result in data corruption.

No, the CRLF would still be part of the data. If the body part is
decoded, the original yEnc file (with CRLF, of course), which can
be interpreted by the yEnc decoder, appears.

> Also, on the obvious point, yEnc is a transfer encoding not a MIME type.

This is what I thought at first too. However, if you look closer,
that's not so unambigous any longer:

. yEnc contains additional data, such as the =ybegin boundary,
  file names, etc., which a typical MIME encoding does not.
. application/max-binhex is a content type.
. gzip, tar, zip, etc. are all content types.

It also has some useful implications:

. Saving the body part will work with all newsreaders, even if it
  has been autoconverted by some MTA.
. You don't need message/partial, which does not allow an 8bit
  content transfer encoding.

Claus
-- 
------------------------ http://www.faerber.muc.de/ ------------------------
OpenPGP: DSS 1024/639680F0 E7A8 AADB 6C8A 2450 67EA AF68 48A5 0E63 6396 80F0
Technical Details
Message-ID: <8LAqxaNocDB@3247.org>
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!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.stueberl.de!news.space.net!news.muc.de!faerber.muc.de!claus
References: <87k7s9d7tr.fsf@iki.fi> <1016494435.447075@ok-corral.gunslinger.net> <3C968113.D4E2A742@ehsco.com>

Show Full Headers
Complete Article Headers
Message-ID: <8LAqxaNocDB@3247.org>
Subject: Re: [yEnc] A small MIME fix
Date: Tue, 19 Mar 2002 09:27:00 +0000
From: claus-usenet-20020319@faerber.muc.de (Claus Färber)
References: <87k7s9d7tr.fsf@iki.fi> <1016494435.447075@ok-corral.gunslinger.net> <3C968113.D4E2A742@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!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.stueberl.de!news.space.net!news.muc.de!faerber.muc.de!claus
Newsgroups: news.software.nntp
User-Agent: OpenXP/32 v3.7.7 (Win32) beta @ 2002-03-17-1359d
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Lines: 39