🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #299126

Re: mail2news question

#299126
From: Neodome Admin
Date: Tue, 26 Jun 2018 10:14
46 lines
2659 bytes
Nomen Nescio <nobody@dizum.com> wrote:
> In article <pgmitm$dek$1@neodome.net> Neodome Admin <admin@neodome.net>
> wrote:
> 
>> Anonymous <anonymous@foto.nl1.torservers.net> wrote:
> 
>>> What about changing headers to lower case, is this an issue in any =
> way?
>>> For example:
>>> =20
>>> subject:
>>> from:
>>> message-id:
>>> newsgroups:
>>> etc.
>> 
>> Should not be an issue. According to RFC, header names are case =
> insensitive
>> so any server and client software should be fine with it.
>> 
>> The reason for lower case names is internal data structure that I use to
>> keep headers in. It basically a hash of arrays, where header names are =
> the
>> keys and header values are strings in arrays. The reason for it is the =
> fact
>> that RFC allows multiple occurrences of some headers. For example, =
> Comments
>> header can appear more than once in the same article. It might not be
>> processed by some software correctly but it's totally legit.
>> 
>> Message-ID: <msg@id>
>> CoMMents: comment 1
>> CommentS: comment 2
>> 
>> 'message-id' =3D> [ '<msg@id>' ]
>> 'comments' =3D> [ 'comment 1', 'comment 2' ]
> 
> Nevertheless I'd prefer to have capital initials as they appear in the
> RFCs.  I don't see a reason why not convert all header names into the
> standard spelling, as that still results in a unique hash.

I was planning to do it if some problems arise. I didn't discover any
problems yet but I guess I will do it anyway.

-- 
Neodome
Technical Details
Message-ID: <pgt3lo$i3b$1@neodome.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <pghue5$ue0$1@neodome.net> <ef4d93b7d190f887c0f40ccb925ed45a@foto.nl1.torservers.net> <pgjslg$sgf$1@news.mixmin.net> <pgka3f$kh3$1@neodome.net> <386f2149e8a04d25079fff464c77babb@foto.nl1.torservers.net> <273df4fb95adac7eb83d618ec51cfe49@foto.nl1.torservers.net> <pgmitm$dek$1@neodome.net> <564a1b10b113cc2facdaa9c681d98cf1@dizum.com>

Show Full Headers
Complete Article Headers
Message-ID: <pgt3lo$i3b$1@neodome.net>
Subject: Re: mail2news question
Date: Tue, 26 Jun 2018 10:14:16 +0000
From: Neodome Admin <admin@neodome.net>
References: <pghue5$ue0$1@neodome.net> <ef4d93b7d190f887c0f40ccb925ed45a@foto.nl1.torservers.net> <pgjslg$sgf$1@news.mixmin.net> <pgka3f$kh3$1@neodome.net> <386f2149e8a04d25079fff464c77babb@foto.nl1.torservers.net> <273df4fb95adac7eb83d618ec51cfe49@foto.nl1.torservers.net> <pgmitm$dek$1@neodome.net> <564a1b10b113cc2facdaa9c681d98cf1@dizum.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Neodome | news.neodome.net | news.neodome.i2p | neodomea5yrhcabc.onion
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 26 Jun 2018 10:14:16 +0000 (UTC)
Injection-Info: neodome.net;
User-Agent: NewsTap/5.3.1 (iPhone/iPod Touch)
Cancel-Lock: sha1:v+IHhlSlYRsv79iHKKx2tLMaRwU=
Lines: 45