🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57772

Re: on this yEnc matter

#57772
From: Claus Färber
Date: Sat, 30 Mar 2002 14:42
56 lines
3596 bytes
Bob Cousins <bob@lintilla.demon.co.uk> schrieb/wrote:
> Claus F�rber wrote:
>> But this would not be correct on multipart posts. These would have
>> to be split using message/partial (which does not allow 8bit
>> encodings)

> What is the reason for that?

A basic concept of MIME is that everything non-7bit can be recoded
on gateways (e.g. news<->mail, 8BITMIME<->non-8BITMIME) if
necessary.

To quote from RFC 2046:

|  Because data of type "message" may never be encoded in base64 or
|  quoted-printable, a problem might arise if "message/partial" entities
|  are constructed in an environment that supports binary or 8bit
|  transport.  The problem is that the binary data would be split into
|  multiple "message/partial" messages, each of them requiring binary
|  transport.  If such messages were encountered at a gateway into a
|  7bit transport environment, there would be no way to properly encode
|  them for the 7bit world, aside from waiting for all of the fragments,
|  reassembling the inner message, and then encoding the reassembled
|  data in base64 or quoted-printable.

NB: This is due to the fact that the Content-Encoding header is
only present at the beginning of the split message, i.e. in the
first message fragment. This also means that the same encoding has  
to be used for all fragments.

|                                       Since it is possible that
|  different fragments might go through different gateways, even this is
|  not an acceptable solution.  For this reason, it is specified that
|  entities of type "message/partial" must always have a content-
|  transfer-encoding of 7bit (the default).  In particular, even in
|  environments that support binary or 8bit transport, the use of a
|  content- transfer-encoding of "8bit" or "binary" is explicitly
|  prohibited for MIME entities of type "message/partial". This in turn
|  implies that the inner message must not use "8bit" or "binary"

Of course, there's no real reason why message/partial could not be
encoded:

Unlike with multipart/* or message/rfc822, where it's a good idea
not to have an entity hidden in several levels of encoding to ease
parsing, you already do have to recombine a message split into
message/partial (even recursively!) in order to be able to handle
it. Undoing a CTE would not be too much additional effort here.

application/partial-message anyone?

Claus
-- 
------------------------ http://www.faerber.muc.de/ ------------------------
OpenPGP: DSS 1024/639680F0 E7A8 AADB 6C8A 2450 67EA AF68 48A5 0E63 6396 80F0
Technical Details
Message-ID: <8Lq4wAXocDB@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!t-online.de!newsfeed.r-kom.de!newsfeed.stueberl.de!news.space.net!news.muc.de!faerber.muc.de!claus
References: <3ca41690.0@oracle.zianet.com> <8Llu$OHocDB@3247.org> <3ca55ee8.0@oracle.zianet.com> <8Lq3BtaJcDB@3247.org> <8debaukrarg7c4422hs86j41onlfqoa6mg@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <8Lq4wAXocDB@3247.org>
Subject: Re: on this yEnc matter
Date: Sat, 30 Mar 2002 14:42:00 +0000
From: claus-usenet-20020330@faerber.muc.de (Claus Färber)
References: <3ca41690.0@oracle.zianet.com> <8Llu$OHocDB@3247.org> <3ca55ee8.0@oracle.zianet.com> <8Lq3BtaJcDB@3247.org> <8debaukrarg7c4422hs86j41onlfqoa6mg@4ax.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!t-online.de!newsfeed.r-kom.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=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 55