🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86548

Re: Article format questions

#86548
From: Russ Allbery
Date: Sun, 19 Apr 2015 07:53
26 lines
2223 bytes
newone <newone@example.tld> writes:

> Probably I will ask some more questions in the future, so I might as well
> give the thread a very generic name.

> Are header fields names case-insensitive? I.e. "Message-ID: <hello@here>"
> and "message-id: <hello@there>" should both be considered as valid header
> fields? Not sure if I can find the answer in RFC 5536.

Yes, header field names are case-insensitive.  I'm not sure this is
formally stated anywhere other than the ABNF, but it's clear from the
ABNF.  All the standard field names are specified in ABNF quoted strings,
which, as mentioned in RFC 5322 means that they're case-insensitive:

   This specification uses the Augmented Backus-Naur Form (ABNF) [RFC5234]
   notation for the formal definitions of the syntax of messages.
   Characters will be specified either by a decimal value (e.g., the value
   %d65 for uppercase A and %d97 for lowercase A) or by a case-insensitive
   literal value enclosed in quotation marks (e.g., "A" for either
   uppercase or lowercase A).

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87twwcv9jz.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20150601.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!.POSTED!not-for-mail
References: <mgvm17$g19$1@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <87twwcv9jz.fsf@hope.eyrie.org>
Subject: Re: Article format questions
Date: Sun, 19 Apr 2015 00:53:04 -0700
From: Russ Allbery <eagle@eyrie.org>
References: <mgvm17$g19$1@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20150601.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 26
NNTP-Posting-Host: lothlorien.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: usenet-its.stanford.edu 1429429984 1835 68.65.164.14 (19 Apr 2015
X-Complaints-To: news@usenet-its.stanford.edu
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Cancel-Lock: sha1:rpuzSxic3IkgTLG+8s/rusRZRig=