Article View: news.software.nntp
Article #57466Re: [yEnc] A small MIME fix
From: Nuutti Kotivuori
Date: Wed, 20 Mar 2002 19:08
Date: Wed, 20 Mar 2002 19:08
108 lines
5280 bytes
5280 bytes
Juergen Helbing wrote: > Nuutti Kotivuori <naked@iki.fi> wrote: >> So I don't think yEnc is salvageable in this sense - we need to >> make a yEnc lookalike content-transfer-encoding - and then transfer >> the metadata from the body of the message to the MIME-headers (even >> if they would reside physically inside the body). > > Yes. So we agree here. >>> (=ybegin - line) which keeps the problem that the charset >>> for the filename is still unsolved...... >> >> Well that is a problem in the yEnc draft - with or without MIME. > > With MIME yEnc could store the filename only in the MIME > headers. There the problem seems to be solved. With MIME, yEnc could store all the metadata in the MIME headers. Like said above. >>> This is not written to discourage you. >>> Thanks for making proposals - and triggering people to >>> think about the subject again. >> >> I think you are passing this subject off a bit too hastily. > > No - this is a misunderstanding. > I am following this thread carefully - and I wanted to thank you > for starting it again. > I just wanted to share the knowhow from my previous attempts. > >> This thing is only geared towards solving one problem: >> >> Make yEnc not show as garbage to those who stumble on such a message >> with a MIME-capable newsreader. > > As we see: A lot of work for solving "one problem" :-) The "lot of work" is part of discussing these things in a public forum - everybody has an opinion. >> And this does not require the posting nor the decoding software to >> understand a donkey's kidneys' worth of MIME - just adding three >> hardcoded lines or ignoring them like all unknown headers. > > If it would be so easy, then I would wholeheartly agree. > But as soon as you are using the MIME headers you must be aware of > the fact that a newsreader (and a gateway) does _more_ than just > 'not show as garbage". > It is starting its entire internal MIME handling. > So whatever you are doing after "adding just three headers" must be > _fully_ MIME compliant. But it is! It is not using MIME to the fullest extent it can be used - but it is _fully_ MIME compliant. And the specification explicitly says that an unknown application media type must be treated as application/octet-stream - which is exactly right in our case - the user sees that is an unknown binary message and is not presented with garbage on the screen. >> All it does is make it display nicely on the MIME capable but yEnc >> unaware newsreader. > > And here you are wrong. > As soon as the MIME routines are used in a newsreader you are > entering a completely new world of internal handling of the article. Yes, we are entering the MIME world of handling for the article - and in there the unknown article must be rendered as application/octet-stream as by the standard - which is exactly what we want. You seem to be thinking that the MIME requires that there is enough information for the client to parse the message. It does not. To simplify my proposal - it just tags the message as binary so newsreaders won't show it as is to the user. >>> I can only recommend to read all the old discussions >>> about yEnc & MIME. These groups were used: >> >> I haven't read all of them, though some I have. I hope you don't >> pass this up as a rehash of an old issue before you have really >> verified that this is the same old issue I'm talking about. > > Every proposal is slightly different - but in fact they all deal > with the same problems. When I realised that it would be nearly > impossible to introduce yEnc as a CTE I was also trying to use "just > three headers". Well what I'm here trying to do is to keep exact compatibility with the current yEnc version - but still make the messages compatible with MIME - without requiring either. And I haven't seen anybody yet present good reasons why not do this. Hopefully this discussion will progress from here. > Thanks a again for restarting the discussion. > I just wanted to add my previous experience. -- Naked
Technical Details
Message-ID:
<87zo139hwp.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!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!news.cc.tut.fi!uutiset.saunalahti.fi!localhostReferences:
<87k7s9d7tr.fsf@iki.fi> <51039.j32205@archiver.winews.net> <87wuw8bb8f.fsf@iki.fi> <35458.k32201@archiver.winews.net>Show Full Headers
Complete Article Headers
Message-ID: <87zo139hwp.fsf@iki.fi> Subject: Re: [yEnc] A small MIME fix Date: Wed, 20 Mar 2002 21:08:06 +0200 From: Nuutti Kotivuori <naked@iki.fi> References: <87k7s9d7tr.fsf@iki.fi> <51039.j32205@archiver.winews.net> <87wuw8bb8f.fsf@iki.fi> <35458.k32201@archiver.winews.net> 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!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!news.cc.tut.fi!uutiset.saunalahti.fi!localhost Newsgroups: news.software.nntp Organization: SAUNALAHDEN asiakas Lines: 107 NNTP-Posting-Host: cs183115.pp.htv.fi Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: tron.sci.fi 1016651490 27348 213.243.183.115 (20 Mar 2002 19:11:30 GMT) X-Complaints-To: newsmaster@saunalahti.fi NNTP-Posting-Date: 20 Mar 2002 19:11:30 GMT User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i386-debian-linux) Cancel-Lock: sha1:Tsve7y/S9NHt0stCZDMDslDJfk8=