Article View: news.software.nntp
Article #53776Re: [pan-users] Multipart binary header (was RE: [pan-users] CVS
From: Andrew Gierth
Date: Wed, 15 Aug 2001 21:26
Date: Wed, 15 Aug 2001 21:26
30 lines
2182 bytes
2182 bytes
>>>>> "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" and at the start of the first part, in the encapsulated entity headers: Content-Type: image/jpeg; name="My nuddie pict" Content-Length: 42830 Content-Transfer-Encoding: base64 Content-MD5: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 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. _Don't_ go off and reinvent some other totally incompatible method given that this already exists. -- Andrew.
Technical Details
Message-ID:
<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!lios!news.gweep.ca!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonsterReferences:
<01.07.15.15.50.39%planb@newsreaders.com>Show Full Headers
Complete Article Headers
Message-ID: <87pu9x9frr.fsf@erlenstar.demon.co.uk> Subject: Re: [pan-users] Multipart binary header (was RE: [pan-users] CVS Date: Wed, 15 Aug 2001 21:26:00 +0000 From: Andrew Gierth <andrew@erlenstar.demon.co.uk> References: <01.07.15.15.50.39%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!lios!news.gweep.ca!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster Newsgroups: news.software.nntp,news.software.readers Organization: disorganised Lines: 29 NNTP-Posting-Host: erlenstar.demon.co.uk (5015:061a) X-Mayan-Date: Long count = 12.19.8.8.12; tzolkin = 3 Eb; haab = 10 Yaxkin X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29 X-Attribution: AG X-P-Persistent-Headers: are a bad idea. X-Newsreader: Gnus v5.5/Emacs 20.2 X-Complaints-To: andrew@erlenstar.demon.co.uk X-Post-Filter: postfilter v0.6 alpha