🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86517

Re: NNTP article headers sequence

#86517
From: newone
Date: Thu, 09 Apr 2015 02:50
21 lines
1977 bytes
On 2015-04-09 02:35:02 +0000, Doc O'Leary said:

> For your reference, records indicate that
> newone <newone@example.tld> wrote:
> 
>> Because I would like to deal with them as with hash. Once I'm done,
>> I'll join hash to array of bytes using CR/LF characters. This does not
>> guarantee any particular sequence in which string will be joined.
> 
> It might not be “guaranteed”, but I think you’ll find that the
> implementation of most hash tables is generally going to return keys in
> the same order for any hash that had all the same keys inserted in the
> same order.  I certainly see that for NSDictionary (which is what you
> also might possibly intend to use based on your User-Agent).

Thanks for pointing it out.

Since there are no any mandatory sequence, it does not really matter, 
as long as other servers will accept resulting headers without me doing 
any sorting before sending articles to them.
Technical Details
Message-ID: <mg4pdi$vo$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!goblin1!goblin.stu.neva.ru!news.mixmin.net!.POSTED!not-for-mail
References: <mg2271$o60$1@news.mixmin.net> <87d23fe3nx.fsf@hope.eyrie.org> <mg273j$33l$1@news.mixmin.net> <mg3dj8$m5k$1@dont-email.me> <mg44hq$eeu$1@news.mixmin.net> <mg4ogm$nff$1@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <mg4pdi$vo$1@news.mixmin.net>
Subject: Re: NNTP article headers sequence
Date: Wed, 8 Apr 2015 21:50:27 -0500
From: newone <newone@example.tld>
References: <mg2271$o60$1@news.mixmin.net> <87d23fe3nx.fsf@hope.eyrie.org> <mg273j$33l$1@news.mixmin.net> <mg3dj8$m5k$1@dont-email.me> <mg44hq$eeu$1@news.mixmin.net> <mg4ogm$nff$1@dont-email.me>
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!goblin1!goblin.stu.neva.ru!news.mixmin.net!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: newone
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: news.mixmin.net; posting-host="3LljZJUsdbcV6MQKSS6W0n7qIM8";
 logging-data="1016"; mail-complaints-to="abuse@mixmin.net"
User-Agent: Unison/2.2
Lines: 20