🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by newone Sun, 19 Apr 2015 07:38
Article format questions
#86550
Author: newone
Date: Sun, 19 Apr 2015 07:38
7 lines
1269 bytes
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.
Re: Article format questions
#86548
Author: 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.
Re: Article format questions
#86551
Author: newone
Date: Sun, 19 Apr 2015 08:46
26 lines
2323 bytes
On 2015-04-19 07:53:04 +0000, Russ Allbery said:

> 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, do you ever sleep? :) It's not the first time I post something 
and you reply right away, even if it's middle of the night in US.
Re: Article format questions
#86549
Author: newone
Date: Sun, 19 Apr 2015 08:56
26 lines
2301 bytes
On 2015-04-19 07:53:04 +0000, Russ Allbery said:

> 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).

Thank you. Now I recall some servers were sendind me lower-case 
headers, and my user-agent (gnus) had no problems with them.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads