🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53782

Re: [pan-users] Multipart binary header (was RE: [pan-users] CVS

#53782
From: J.B. Moreno
Date: Thu, 16 Aug 2001 03:31
61 lines
3422 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:

> >>>>> "J" == J B Moreno <planb@newsreaders.com> writes:
> 
>  J> In a separate discussion with a newsreader author I recently proposed:
> 
>  >> Binary-Info:  original-size=42830; encoded-size=47129; part-size=17658;
>  >> num-parts=2; part-number=1; file-name="My nuddie pict";
>  >> mid-token="MD5 hash of filename, base 64, plus 2 random chars"
>  >> Binary-References: <1st-id> <2ndid>
> 
> You're looking for MIME:
> 
>  Content-Type: message/partial; number=1; total=2; id="blahblah@blah"

The mid-token wasn't a replacement for the Message-ID, but rather
something that all parts of a given file would include in the id of
their respective articles.

That would allow finding all of the parts using XPAT.

> and at the start of the first part, in the encapsulated entity headers:
-snip-
> You can bend the MIME standards a bit and use QP-lite (or binary, if
> you have a transport that can support it) instead of base64; MIME's
> restriction to 7bit for message/partial is to accomodate gateways.

You'd want to bend it a bit more than the above, you want most of the
info to be available in the articles headers, and not in the
encapsulated entity headers.  But I guess that would be OK with a
message/partial as it is information about the completed article.  So
the name would need to be moved to the Content-Type of the articles
headers.

 Content-Type: message/partial; number=1; total=2; id="blahblah@blah"
  name="My nuddie pict"; original-size=42830; encoded-size=47129

and then

Content-Type: image/jpeg
Content-Length: 17658
Content-Transfer-Encoding: quoted-printable
Content-MD5: blah


> _Don't_ go off and reinvent some other totally incompatible method
> given that this already exists.

I agree, it's just that Content-Type hadn't occurred to me.

Any opinion about a parts list?  New header vs overriding References?
I'd incline towards the later to ensure that it goes in the overview.

Whether a new header or a new use for an old one, I think it's really
time to get rid of the idea that you have to "guess" whether or not
parts belong together and whether or not they are complete.

-- 
JBM
"Your depression will be added to my own" --  Marvin of Borg
Technical Details
Message-ID: <1ey7dkx.y4bdwm11q572xN%planb@newsreaders.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!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.abs.net!uunet!dca.uu.net!ralph.vnet.net!planb
References: <01.07.15.15.50.39%planb@newsreaders.com> <87pu9x9frr.fsf@erlenstar.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <1ey7dkx.y4bdwm11q572xN%planb@newsreaders.com>
Subject: Re: [pan-users] Multipart binary header (was RE: [pan-users] CVS
Date: Wed, 15 Aug 2001 23:31:13 -0400
From: planb@newsreaders.com (J.B. Moreno)
References: <01.07.15.15.50.39%planb@newsreaders.com> <87pu9x9frr.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!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.abs.net!uunet!dca.uu.net!ralph.vnet.net!planb
Newsgroups: news.software.nntp,news.software.readers
Organization: NetNews BOFH wannabe
X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|u
    X|f8`cFDd*PaH8N*x>d^h
Mail-Copies-To: nobody
User-Agent: MacSOUP/2.4.4
Lines: 60
NNTP-Posting-Host: 166.82.184.251
X-Trace: ralph.vnet.net 997932567 166.82.184.251 (Wed, 15 Aug 2001 23:29:27 EDT)
NNTP-Posting-Date: Wed, 15 Aug 2001 23:29:27 EDT