πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90774

Re: Historical articles and longest retention. dot-stuff

#90774
From: Russ Allbery
Date: Tue, 12 Sep 2023 18:49
36 lines
2502 bytes
"Billy G. (go-while)" <no-reply@no.spam> writes:
> On 12.09.23 19:39, Julien Γ‰LIE wrote:

>> Also for HEAD when you say ARTICLE/BODY.

> hm but first char of a Header Line should by either a space to indicate
> a continuing line or [A-Z] (maybe [a-z] for some strange (old) clients
> which should not exist nowadays, in theory)?

> any leading dot in the header should break when server receives it?

Nope, there is no such requirement on RFC 5322 header fields, and thus no
such requirement on RFC 5536 header fields because this is not one of the
places where netnews is stricter.  RFC 5322 section 2.2:

   Header fields are lines beginning with a field name, followed by a
   colon (":"), followed by a field body, and terminated by CRLF.  A
   field name MUST be composed of printable US-ASCII characters (i.e.,
   characters that have values between 33 and 126, inclusive), except
   colon.  A field body may be composed of printable US-ASCII characters
   as well as the space (SP, ASCII value 32) and horizontal tab (HTAB,
   ASCII value 9) characters (together known as the white space
   characters, WSP).  A field body MUST NOT include CR and LF except
   when used in "folding" and "unfolding", as described in section
   2.2.3.  All field bodies MUST conform to the syntax described in
   sections 3 and 4 of this specification.

So it's allowed to have a header field name that starts with a period, as
well as all sorts of other exotic and fascinating stuff that you don't see
in practice.

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87zg1rfcqb.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <u3rlen$2nvcc$1@dont-email.me> <4NzXdKS8lFiC65I9j@bongo-ra.co>

Show Full Headers
Complete Article Headers
Message-ID: <87zg1rfcqb.fsf@hope.eyrie.org>
Subject: Re: Historical articles and longest retention. dot-stuff
Date: Tue, 12 Sep 2023 11:49:48 -0700
From: Russ Allbery <eagle@eyrie.org>
References: <u3rlen$2nvcc$1@dont-email.me> <4NzXdKS8lFiC65I9j@bongo-ra.co>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: hope.eyrie.org;
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:wubGArXUPk94CEvv2yo9BxZ9l6Y=