🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64059

Re: xBin Message-ID convention

#64059
From: Kjetil Torgrim Homme
Date: Mon, 17 Feb 2003 01:56
52 lines
2790 bytes
[ZoSo]:
>
>   > filename (mandatory):
>   >  Content-Disposition: attachment; filename="somefile.mp3"
>   
>   Could it instead say,
>   filename (mandatory):
>    Content-Disposition: attachment; filename="some filename.mpeg"
>   
>   to demonstrate it's not restricted to only 8.3 filenames? (or *is*
>   it? if so, please state that explicitly;)

ok.  it's now

filename (mandatory):
  Content-Disposition: attachment; filename="a picture.jpeg"

>   And in:
>   > MIME-Version: 1.0
>   >   Content-Type: message/partial; id="~XB~53F8b3f9C0/1~SVLIw~~@xbin";
>   >           fragment=1; total=16
>   >   Date: Sat, 25 Jan 2003 02:06:03 +0100
>   >
>   >  Content-Type: audio/mpeg
>   >  Content-Transfer-Encoding: base64
>   >  Content-Disposition: attachment; filename="wedding.mp3"
>   
>   the last line could, maybe, instead be shown as:
>    Content-Disposition: attachment; filename="wedding%20march.mp3"
>   
>   to demonstrate 'long' filenames + non-alphanum character encoding
>   (per RFC-2184)?

except the relevant RFC is 2231 :-), so it becomes

  Content-Disposition: attachment; filename*=us-ascii'en-us'wedding%20march.mp3
or a bit shorter:
  Content-Disposition: attachment; filename*=''wedding%20march.mp3

it suffices to protect space characters using double quotes, so I
don't think I'll complicate the example needlessly.

I'll add a note, though:

| (if characters outside US ASCII are present in the filename, they
| MUST be coded as per RFC 2231.)


-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Technical Details
Message-ID: <1risvjekl9.fsf@vingodur.ifi.uio.no>
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!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!diablo.theplanet.net!mephistopheles.news.clara.net!news.clara.net!feed.news.nacamar.de!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
References: <1rvg0ehvar.fsf@vingodur.ifi.uio.no> <1rlm0vo71a.fsf@vingodur.ifi.uio.no> <v4vupu6jsg8uc0@corp.supernews.com>

Show Full Headers
Complete Article Headers
Message-ID: <1risvjekl9.fsf@vingodur.ifi.uio.no>
Subject: Re: xBin Message-ID convention
Date: Mon, 17 Feb 2003 01:56:18 +0000
From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no>
References: <1rvg0ehvar.fsf@vingodur.ifi.uio.no> <1rlm0vo71a.fsf@vingodur.ifi.uio.no> <v4vupu6jsg8uc0@corp.supernews.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!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!diablo.theplanet.net!mephistopheles.news.clara.net!news.clara.net!feed.news.nacamar.de!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
Newsgroups: news.software.nntp
Organization: Dept. of Informatics, Univ. of Oslo, Norway
Lines: 51
NNTP-Posting-Host: vingodur.ifi.uio.no
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: maud.ifi.uio.no 1045446979 11702 129.240.68.200 (17 Feb 2003 01:56:19 GMT)
X-Complaints-To: abuse@ifi.uio.no
NNTP-Posting-Date: 17 Feb 2003 01:56:19 GMT
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7