🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57917

Re: on this yEnc matter

#57917
From: Sleepy
Date: Thu, 04 Apr 2002 08:04
50 lines
2802 bytes
Here is a new spec based upon message/partial.  As such there are two
levels of headers.  The top level headers are specified below.  The second
level depends upon the file being sent.  Basically you first build a
message to send the full file, then split it same as message/partial. 
Reassembly semantics are the same as for message/partial.  Any CTE is
allowed for both the inner and outer blocks.  Also all information needed
for threading and reassembly is in the content-type header.

required headers:
  Content-Type: application/partial; number=; total=; size=; type=; id=""
  Content-MD5: .....
  Content-Transfer-Encoding: any

required parameters:
  number: integer specifying the fragment number total:  integer
  specifying the total number of fragments id:     base64 encoded md5 of
  file
  size:   integer specifying the size in octets of the file type:
  content-type of file

Here is an example:

first message part:

* Subject: Family photo [1/5]
* Message-ID: <13492384@foo.bar>
* Mime-Version: 1.0
* Content-Type: application/partial number=1; total=5; size=37292;
type=image/jpeg; id="asfdsds3232" * Content-Transfer-Encoding: 8bit *
Content-MD5: afi4eerj9
*
* Subject: Family photo
* Message-ID: <83829843dkj@localhost> * Mime-Version: 1.0 * Content-Type:
image/jpeg
* Content-Transfer-Encoding: x-yenc
* Content-Disposition: attachment name="photo.jpg" * * data goes here

later message parts:

* Subject: Family photo [3/5]
* Message-ID: <13492384@foo.bar>
* Mime-Version: 1.0
* Content-Type: application/partial number=3; total=5; size=37292;
type=image/jpeg; id="asfdsds3232" * Content-Transfer-Encoding: 8bit *
Content-MD5: ahoe9839qjfr
*
* data goes here

How's that?
Technical Details
Message-ID: <3cac08ff.0@oracle.zianet.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!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!sjc-peer.news.verio.net!news.verio.net!feeder.nmix.net!reader.nmix.net!oracle.zianet.com!not-for-mail
References: <3ca41690.0@oracle.zianet.com>

Show Full Headers
Complete Article Headers
Message-ID: <3cac08ff.0@oracle.zianet.com>
Subject: Re: on this yEnc matter
Date: Thu, 04 Apr 2002 01:04:02 -0700
From: Sleepy <sleepy@mycomp.org>
References: <3ca41690.0@oracle.zianet.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!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!sjc-peer.news.verio.net!news.verio.net!feeder.nmix.net!reader.nmix.net!oracle.zianet.com!not-for-mail
Newsgroups: news.software.nntp
Organization: NMIX
Lines: 49
NNTP-Posting-Host: oracle.zianet.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: reader.nmix.net 1017908001 83542 204.134.124.52 (4 Apr 2002 08:13:21 GMT)
X-Complaints-To: news@nmix.net
NNTP-Posting-Date: 4 Apr 2002 08:13:21 GMT
User-Agent: Pan/0.11.2 (Unix)
X-Comment-To: "Sleepy" <sleepy@mycomp.org>