🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68797

Re: MIME peculiarities (C-T and C-T-E); help please!

#68797
From: Malcolm Dew-Jones
Date: Thu, 25 Mar 2004 20:43
21 lines
2095 bytes
Russ Allbery (rra@stanford.edu) wrote:
: In news.software.nntp, Bill Davidsen <davidsen@tmr.com> writes:

: > A header line may be continued if the next line is (a) non-blank and (b)
: > starts with whitespace. My hacked perl code drops trailing whitespace
: > from the first line, the head of the 2nd line, and concatentates with a
: > single blank between the lines.

: > I don't believe this is 100% RFC compliant, but it is really easy to code
: > and works in real life.

: The RFC-standard unfolding is actually pretty straightforward to
: implement.  It says that the newline is not a part of the header content
: but all of the whitespace is (since the folding newline can only be added
: before whitespace).

In other words, the header line _must_ have white space in it if you wish
to be able to fold it.  Otherwise there's no way to put it on a
continuation line (since that always forces the extracted header to have
some white space).
Technical Details
Message-ID: <40634469@news.victoria.tc.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.mime.mbox.zip!archiver1.google.com!news1.google.com!news.glorb.com!news.moat.net!border1.nntp.sjc.giganews.com!nntp.giganews.com!sjc70.webusenet.com!news.usenetserver.com!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!news.victoria.tc.ca!vtn1!yf110
References: <86a40a7d.0403091047.6b10611a@posting.google.com> <cxE8c.28552$UU7.4162@newssvr31.news.prodigy.com> <87y8poemg4.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <40634469@news.victoria.tc.ca>
Subject: Re: MIME peculiarities (C-T and C-T-E); help please!
Date: Thu, 25 Mar 2004 20:43:21 +0000
From: yf110@vtn1.victoria.tc.ca (Malcolm Dew-Jones)
References: <86a40a7d.0403091047.6b10611a@posting.google.com> <cxE8c.28552$UU7.4162@newssvr31.news.prodigy.com> <87y8poemg4.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.mime.mbox.zip!archiver1.google.com!news1.google.com!news.glorb.com!news.moat.net!border1.nntp.sjc.giganews.com!nntp.giganews.com!sjc70.webusenet.com!news.usenetserver.com!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!news.victoria.tc.ca!vtn1!yf110
Newsgroups: news.software.nntp,comp.mail.mime
Followup-To: news.software.nntp,comp.mail.mime
Organization: Victoria Telecommunity Network
X-Newsreader: TIN [version 1.2 PL2]
X-Original-NNTP-Posting-Host: 199.60.222.3
XPident: yf110
X-Complaints-To: abuse@supernews.com
Lines: 20