Article View: news.software.nntp
Article #57438Re: [yEnc] A small MIME fix
From: Nuutti Kotivuori
Date: Tue, 19 Mar 2002 22:31
Date: Tue, 19 Mar 2002 22:31
90 lines
4694 bytes
4694 bytes
Andrew Gierth wrote: >>>>>> "Nuutti" == Nuutti Kotivuori <naked@iki.fi> writes: > > Claus> . application/max-binhex is a content type. > > >> As I understand it, the content of a binhex file is not a single > >> entity, but contains both the data fork and resource fork of the > >> file being transferred. > > Nuutti> Yes - and yEnc is a part of a big file that has crc's and > Nuutti> filename's embedded and what not. > > There's far more involved in the resource fork of a Mac file than > the trivial amount of metadata that yenc has. Yes I know - I'm still advocating for resource fork/extensive metadata on UNIX as well. Still a binhex file represents one file - just a Mac file. > Nuutti> yEnc is not a single entity either, it carries additional > Nuutti> stuff. > > As far as MIME is concerned it's a single entity. I really don't see the separation between yEnc and BinHex. How is yEnc (in its current form) different from BinHex? > Claus> . gzip, tar, zip, etc. are all content types. > > >> Last time I looked, gzip was _not_ a content type. > > Nuutti> Actually, it is both. > > No, it's not (and in fact tar isn't either). Don't take my word for > it, check the registry of media types. You are right, gzip is not a media type. But it's not a transfer-encoding either. So neither gzip nor tar can be transferred in MIME messages at all, since they do not have registered types? That is a really poor indicator of things. There are not too many types registered in the whole list for obvious reasons. > x-gzip and x-tar do show up at times. However, according to the > rules for media types, application/gzip could _not_ be registered. Hmm. Could you elaborate? I'm guessing you might refer to these two bits: ,----[ RFC2048 ] | (1) Media types must function as an actual media format. | In particular, character sets and transfer encodings | may not be registered as media types. `---- and ,----[ RFC2048 ] | (2) Image, audio, video, and even application entities are | sometimes quite large. Compression algorithms are often | quite effective in reducing the size of large entities. | Transfer encodings can be used to apply general-purpose | non-lossy compression algorithms to MIME entities. `---- Interpreting this to the letter would indeed probably mean that gzip could not be registered as a media type. But then again, interpreting MIME to the letter would indeed probably mean that it should not be used in Usenet messages in any case. I'm not so certain that application/gzip could not be registered to transmit the actual encoded form of the message, instead of transparently coding it. In that context, it is not a transfer encoding - even though the encoding procedure would be exactly the same. > Nuutti> It can be used as a Content-Encoding (not > Nuutti> Content-Transfer-Encoding) - where it will be usually > Nuutti> transparently uncompressed on reception. > > there is no such thing as a Content-Encoding in mail. Are you > thinking of HTTP? Ah true - and it's Content-Coding there. In mail, it falls into Content-Transfer-Encoding - just that _nobody_ has registered any compressing CTE yet. Ofcourse this might have to do with the fact that it would require changes to the RFCs themselves. -- Naked
Technical Details
Message-ID:
<87it7sb35a.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!logbridge.uoregon.edu!newsfeed.media.kyoto-u.ac.jp!news.cc.tut.fi!uutiset.saunalahti.fi!localhostReferences:
<87k7s9d7tr.fsf@iki.fi> <1016494435.447075@ok-corral.gunslinger.net> <3C968113.D4E2A742@ehsco.com> <8LAqxaNocDB@3247.org> <871yeg4nrv.fsf@erlenstar.demon.co.uk> <871yegcqhk.fsf@iki.fi> <87663s2t4r.fsf@erlenstar.demon.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <87it7sb35a.fsf@iki.fi> Subject: Re: [yEnc] A small MIME fix Date: Wed, 20 Mar 2002 00:31:45 +0200 From: Nuutti Kotivuori <naked@iki.fi> References: <87k7s9d7tr.fsf@iki.fi> <1016494435.447075@ok-corral.gunslinger.net> <3C968113.D4E2A742@ehsco.com> <8LAqxaNocDB@3247.org> <871yeg4nrv.fsf@erlenstar.demon.co.uk> <871yegcqhk.fsf@iki.fi> <87663s2t4r.fsf@erlenstar.demon.co.uk> 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!logbridge.uoregon.edu!newsfeed.media.kyoto-u.ac.jp!news.cc.tut.fi!uutiset.saunalahti.fi!localhost Newsgroups: news.software.nntp Organization: SAUNALAHDEN asiakas Lines: 89 NNTP-Posting-Host: cs183115.pp.htv.fi Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: tron.sci.fi 1016577102 19853 213.243.183.115 (19 Mar 2002 22:31:42 GMT) X-Complaints-To: newsmaster@saunalahti.fi NNTP-Posting-Date: 19 Mar 2002 22:31:42 GMT User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i386-debian-linux) Cancel-Lock: sha1:6b278if/0vyEdIt+dEpmEXB+/uU=