🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #58111

comments on Jeremy's proposal

#58111
From: Eric A. Hall
Date: Thu, 11 Apr 2002 07:05
96 lines
5031 bytes
Comments on http://www.exit109.com/~jeremy/news/binaries/multipart.html

General feeling is that it is certainly a well thought-out set of ideas.

Regarding the binary single-part stuff: The clustering of parameters into
the Content-Type header is a creative approach to the problem, but it
won't fly with the MIME people. You should try hard to find another way to
do this.

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.

If your objective here is to make it faster to gather summary data for
general purposes, define a command that actually achieves that. Mucking
with the MIME architecture is the wrong approach. You know this deep
inside already.

I'd also like to see an actual definition of an actual Content-Size header
field or parameter. People have shied away from this because of the EOL
issues with text, but it might be that you can do something here as part
of this effort.

Multipart/related: the use of multipart/related is a good idea. This
probably needs some testing to see how well it works in practice.

Charsets: the existing charset specs should be encouraged for use unless
and until they are changed. This means encouraging the use of 2047 and
2231 where appropriate.

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.

Also, please consider renaming the MD5 parameter to something like
File-MD5 so that people don't confuse it with the Content-MD5 entity
header field.

Should the Number and Total parameters be combined? EG, "Element=3/27" to
identify that this is part 3 of a 27-part posting. Either way, you should
also point out that this information won't always be used, since reposts
of fragments won't have the same numbers.

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.

Even though that model doesn't really work in Usenet for scanning for
specific types of files to download, you do need all of the parts for the
file to actually work, so having this stuff in the first message does
function as a model *after* you have downloaded everything. The real bitch
about this is that Usenet will gladly drop the first part (especially in a
heavily-loaded server with a FIFO queue). However, I can guarantee that it
is going to be a sore point. Be prepared to drop this.

Another advantage to this method is that the Content-MD5 can apply to the
entire file and to each part, since they have their own headers.

There is also some possibilities here in the area of a new
Content-Disposition parameter of "Combine" (or whatever) which may provide
relief for some of these issues. It may be that the byte-range stuff
should go here, as this would generalize the problem somewhat.

For example:

 [first part]
  Content-Type: application/frag
  Content-Transfer-Encoding: yEnc
  Content-Disposition: combine; filename=blah.mpeg; range=0xfoo-0xbar
  Content-MD5: <this-part>
  Etcetera: headers

      Content-Type: video/mpeg
      Content-Transfer-Encoding: binary
      Content-MD5: <whole-file>
      X-Content-Binary-Size: <whole-file size>

      xxxx data xxxx
      xxxx data xxxx

 [second part]
  Content-Type: application/frag
  Content-Transfer-Encoding: yEnc
  Content-Disposition: combine; range=0xfoo-0xbar

  xxxx data xxxx
  xxxx data xxxx

That is the model that the MIME folks will want to see, if history is any
kind of indicator.

-- 
Eric A. Hall                                        http://www.ehsco.com/
Internet Core Protocols          http://www.oreilly.com/catalog/coreprot/
Technical Details
Message-ID: <3CB535C6.138D3BFB@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!newsfeed.mathworks.com!wn3feed!worldnet.att.net!216.148.52.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!greywolf.labs.ntrg.com

Show Full Headers
Complete Article Headers
Message-ID: <3CB535C6.138D3BFB@ehsco.com>
Subject: comments on Jeremy's proposal
Date: Thu, 11 Apr 2002 02:05:42 -0500
From: "Eric A. Hall" <ehall@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!newsfeed.mathworks.com!wn3feed!worldnet.att.net!216.148.52.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!greywolf.labs.ntrg.com
Newsgroups: news.software.nntp
Organization: http://extra.newsguy.com
Lines: 95
NNTP-Posting-Host: p-368.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: 11 Apr 2002 02:05:42 -0500, 192.168.10.10