🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #55302

Re: yEncoding -- gnus? slrn?

#55302
From: Andrew Gierth
Date: Fri, 23 Nov 2001 00:31
51 lines
2796 bytes
>>>>> "JanC" == JanC  <janc_removethis@digibel.org> writes:

 JanC> Seems like yEnc and MIME are incompatible...

MIME and yEnc (used as a transfer-encoding) are incompatible to the
extent that the MIME spec requires that only 7-bit encodings be used
in multiparts.  This restriction stems from mail usage, and is way too
restrictive for Usenet.

If you're prepared to violate that particular rule, then a yEnc MIME
multipart would look something like this:

----message1
 From: whoever
 Subject: yenc file (1/2)
 Content-Type: message/partial; number=1; total=2; id="abcdef@foo.bar"

 Content-Type: image/jpeg
 Content-Transfer-Encoding: x-yenc
 Content-Disposition: attachment; filename="picture.jpg"
 Content-MD5: MDEyMzQ1Njc4OWFiY2RlZgo=

 [yenc-encoded data]
----message2
 From: whoever
 Subject: yenc file (2/2)
 Content-Type: message/partial; number=2; total=2; id="abcdef@foo.bar"

 [yenc-encoded data]
----

yEnc single parts can be done without violating the MIME spec at all:

----
 From: whoever
 Subject: yenc file
 Content-Type: image/jpeg
 Content-Transfer-Encoding: x-yenc
 Content-Disposition: attachment; filename="picture.jpg"
 Content-MD5: MDEyMzQ1Njc4OWFiY2RlZgo=

 [yenc-encoded data]
----

Existing MIME software should at least offer the option to save the
encoded data verbatim (though they obviously won't be able to handle
it in any other way).

-- 
Andrew.
Technical Details
Message-ID: <87itc28h0d.fsf@erlenstar.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-gnu.emacs.gnus.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!diablo.theplanet.net!easynet-monga!easynet-tele!easynet.net!newspump.sol.net!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster
References: <221120010211552470%planb@newsreaders.com> <slrn9vq5ai.c35.hezu@donner.ling.helsinki.fi> <1f3a1ms.1a2g1vy3mhwmlN%planb@newsreaders.com> <ylelmqwk4t.fsf@windlord.stanford.edu> <Xns91625CD0FD72JanC@195.130.132.65>

Show Full Headers
Complete Article Headers
Message-ID: <87itc28h0d.fsf@erlenstar.demon.co.uk>
Subject: Re: yEncoding -- gnus? slrn?
Date: Fri, 23 Nov 2001 00:31:30 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <221120010211552470%planb@newsreaders.com> <slrn9vq5ai.c35.hezu@donner.ling.helsinki.fi> <1f3a1ms.1a2g1vy3mhwmlN%planb@newsreaders.com> <ylelmqwk4t.fsf@windlord.stanford.edu> <Xns91625CD0FD72JanC@195.130.132.65>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-gnu.emacs.gnus.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!diablo.theplanet.net!easynet-monga!easynet-tele!easynet.net!newspump.sol.net!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster
Newsgroups: gnu.emacs.gnus,news.software.readers,news.software.nntp
Organization: disorganised
Lines: 50
NNTP-Posting-Host: erlenstar.demon.co.uk (0a71:0763)
X-Mayan-Date: Long count = 12.19.8.13.12; tzolkin = 12 Eb; haab = 10 Ceh
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-Attribution: AG
X-P-Persistent-Headers: are a bad idea.
X-Newsreader: Gnus v5.5/Emacs 20.2
X-Complaints-To: andrew@erlenstar.demon.co.uk
X-Post-Filter: postfilter v0.6 alpha