Article View: news.software.nntp
Article #57155Re: Proposed new binaries hierarchy: alt.binaries.yenc-sucks.* [was: R
From: Claus Färber
Date: Sat, 09 Mar 2002 10:43
Date: Sat, 09 Mar 2002 10:43
48 lines
3555 bytes
3555 bytes
Curt Welch <curt@kcwc.com> schrieb/wrote:
> And that's the content length. I need to size of the file before it
> was encoded, not the size of the mime message.
Well, in HTTP, Content-Length is only allowed if both lenghts are
the same. Furhter, HTTP does not use a Content-Transfer-Encoding
but a Transfer-Encoding, which is quite different.
If we would introduce Content-Length to RFC 2822/1036 messages, we
could also define it as being the length of the file.
Basically, I see two options:
. Use message/partial and add parameters that specify which parts
of which files can be found where in the message (which would be
backwards compatible, e.g.:
Content-Type: message/partial; total=10; number=1;
id="bla@example.com";
content-id-1="<bla1@example.com>";
content-md5-1="sdpfjksfjslfjsdlkfj"; (imagine a valid MD5 here)
content-disposition-1="attachment";
content-disposition-1-filename="Nice Song.mp3";
content-transfer-encoding-1="base64"; (parts must be split at lines)
content-range-1="1-100000/1000000"; (range found in this message)
content-pos-1="4-20000"; (line numbers)
content-type-1="audio/mp3"
Yeah, ugly and bulky, but backwards-compatible with newsreaders
that handle message/partial.
. Just introduce Content-Range from HTTP and send all parts as
seperate MIME entities, e.g.:
Content-Type: audio/mp3
Content-Disposition: attachment; filename="Nice Song.mp3"
Content-Range: 1-100000/1000000
Content-ID: <bla1@example.com>
Content-MD5: sdpfjksfjslfjsdlkfj
Content-Transfer-Encoding: Base64
More elegant, but not backwards-compatible.
Claus
--
------------------------ http://www.faerber.muc.de/ ------------------------
OpenPGP: DSS 1024/639680F0 E7A8 AADB 6C8A 2450 67EA AF68 48A5 0E63 6396 80F0
Technical Details
Message-ID:
<8KX5PDF3cDB@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!sn-xit-02!supernews.com!news-x2.support.nl!newsfeed.freenet.de!newsfeed.r-kom.de!newsfeed.stueberl.de!news.space.net!news.muc.de!faerber.muc.de!clausReferences:
<Xns91C6C5C86A7B72781828@140.99.99.131> <QaFg8.94044$7a1.7881660@bin5.nnrp.aus1.giganews.com> <3c840405.2b05.2ad@supernews.com> <V1Ug8.325064$eS3.24653092@bin3.nnrp.aus1.giganews.com> <3c843163.3202.382@supernews.com> <3c844490$0$11354$892e7fe2@authen.blue.readfreenews.net> <050320020020462685%planb@newsreaders.com> <3c846114$0$64544$892e7fe2@authen.yellow.readfreenews.net> <MPG.16ef3ce512656f6c989eb7@news-01.easynews.com> <3c85927a$0$64541$892e7fe2@authen.yellow.readfreenews.net> <20020306163227.384$Sx@newsreader.com> <3c86dad9$0$64532$892e7fe2@authen.yellow.readfreenews.net> <20020307235334.683$15@newsreader.com> <slrna8ghsg.2ftb.andrew+nonews@trinity.supernews.net> <20020308003504.567$b4@newsreader.com> <3C886FF0.A2DFE1A2@ehsco.com> <20020308222528.477$mA@newsreader.com> <3C8987B9.E1E37B7B@ehsco.com> <20020309014528.376$AN@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <8KX5PDF3cDB@3247.org> Subject: Re: Proposed new binaries hierarchy: alt.binaries.yenc-sucks.* [was: R Date: Sat, 09 Mar 2002 10:43:00 +0000 From: claus-usenet-20020309@faerber.muc.de (Claus Färber) References: <Xns91C6C5C86A7B72781828@140.99.99.131> <QaFg8.94044$7a1.7881660@bin5.nnrp.aus1.giganews.com> <3c840405.2b05.2ad@supernews.com> <V1Ug8.325064$eS3.24653092@bin3.nnrp.aus1.giganews.com> <3c843163.3202.382@supernews.com> <3c844490$0$11354$892e7fe2@authen.blue.readfreenews.net> <050320020020462685%planb@newsreaders.com> <3c846114$0$64544$892e7fe2@authen.yellow.readfreenews.net> <MPG.16ef3ce512656f6c989eb7@news-01.easynews.com> <3c85927a$0$64541$892e7fe2@authen.yellow.readfreenews.net> <20020306163227.384$Sx@newsreader.com> <3c86dad9$0$64532$892e7fe2@authen.yellow.readfreenews.net> <20020307235334.683$15@newsreader.com> <slrna8ghsg.2ftb.andrew+nonews@trinity.supernews.net> <20020308003504.567$b4@newsreader.com> <3C886FF0.A2DFE1A2@ehsco.com> <20020308222528.477$mA@newsreader.com> <3C8987B9.E1E37B7B@ehsco.com> <20020309014528.376$AN@newsreader.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!sn-xit-02!supernews.com!news-x2.support.nl!newsfeed.freenet.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-06-2013d MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Lines: 47