Article View: news.software.nntp
Article #58141Re: comments on Jeremy's proposal
From: Eric A. Hall
Date: Fri, 12 Apr 2002 08:38
Date: Fri, 12 Apr 2002 08:38
92 lines
5451 bytes
5451 bytes
Jeremy wrote:
>
> Eric A. Hall <ehall@ehsco.com> wrote:
[on the subject of redundant parameters for single-part binaries]
> > I'm not even really sure that it's necessary. If somebody sees a
> > filename they are interested in, the download agent can HEAD the
> > articles to get the metadata before the download starts.
>
> That would be prohibitively expensive, particularly in a single-part
> group like a picture group, when you're dealing with information you
> really want for every file in the group (like the MD5 and the size).
> There's just no way someone is going to HEAD an entire picture group.
I'm not suggesting that they HEAD every article. I'm suggesting that they
HEAD the articles they specifically want to download as part of a better
overall strategy.
Let's look at the normal practice here. Either the Subject header field
has the filename in it, or the subject header describes the data ("picture
of my poodle"), or the author is a known poster of quality material, or
*something* about that message makes the user think they want to download
it. In this regard, running HEAD on that article and getting information
like the size, filename, MD5 and so forth is a feature.
Essentially, my argument is that you should be encouraging implementations
to make better use of the features that are already there, rather than
reinventing the features that aren't being used. Jamming all of this into
the Content-Type header field is redundant with the existing headers *AND*
it violates the model. Give them more information and maybe they'll start
using it is all. It's not expensive to right-click on a message and "get
full headers".
[on the multipart model]
> > Multipart binaries: I don't see the merit of providing the filename
> > parameter to Content-Type: application/file-fragment. The ID provides
> > the unique identifier, and the Content-Disposition provides a
> > filename.
> needing to have it [content-disposition] makes the operation
> twice as expensive and adds another header that server operators have
> to optimize retrieval of. So, for the filename, the alternative to
> doing something that probably isn't going to happen and which probably
> would kill the whole idea in practice is to do something which lots of
> implementations are already doing right now.
There may be an argument here that a filename parameter to content-type
has meaning if the content-disposition is not specified, but that
content-disposition takes precedence if it is defined and discovered.
> The benefit of filename over ID or MD5 is that it is human-readable,
> and provides a means of showing a user what is there.
On this point, I just want a clarification that the filename does not
serve as an index point, excpet in some well-defined scenarios.
You also need to define the handling of reposted parts such that the user
agents know that they need to use the ID of the original posting rather
than making up a new one and relying on filename matches.
> > The MIME people will jump on you about having a type parameter. I
> > would suggest that you consider doing away with this altogether. The
> > way this is typically handled is to define an entity container in
> > the first message.
>
> There may not *be* a "first message".
> Relying upon the first message in a series for non-crucial metadata is
> fine, but I would be hesitant to "hide" the really important stuff
> there.
If you don't have the first part (or a reposted version of it), then you
don't have the file. Missing any part is going to be fatal, regardless of
which part it is. So the part *number* is not important.
I agree that putting important information in the first part makes it
somewhat difficult to figure out everything you've got, or worse, when
you've got all of the parts. It also introduces some exposure for attack
potential, in that somebody could repost the first part with a different
MD5 and thereby destroy all of the other parts. On the other hand, this is
also a feature to admins who have to deal with copyright issues.
Overall, I agree with you that the nested entity model won't work for
news. This ain't mail.
--
Eric A. Hall http://www.ehsco.com/
Internet Core Protocols http://www.oreilly.com/catalog/coreprot/
Technical Details
Message-ID:
<3CB69CFD.79D100DF@ehsco.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!greywolf.labs.ntrg.comReferences:
<3CB535C6.138D3BFB@ehsco.com> <1018552315.763878@ok-corral.gunslinger.net>Show Full Headers
Complete Article Headers
Message-ID: <3CB69CFD.79D100DF@ehsco.com> Subject: Re: comments on Jeremy's proposal Date: Fri, 12 Apr 2002 03:38:21 -0500 From: "Eric A. Hall" <ehall@ehsco.com> References: <3CB535C6.138D3BFB@ehsco.com> <1018552315.763878@ok-corral.gunslinger.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!greywolf.labs.ntrg.com Newsgroups: news.software.nntp Organization: http://extra.newsguy.com Lines: 91 NNTP-Posting-Host: p-824.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en-US,en X-Original-NNTP-Posting-Host: 192.168.10.10 X-Original-Trace: 12 Apr 2002 03:38:21 -0500, 192.168.10.10