🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44611

Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)

#44611
From: Curt Welch
Date: Tue, 29 Feb 2000 00:00
60 lines
3419 bytes
Jeremy <bofh@netscum.dk> wrote:
> Curt Welch <curt@kcwc.com> wrote:

> > You need to say this because if the HEADERS command code is producing
> > it's output by looking at a traditionally formated XOVER database
> > (which it will be doing for most servers),
>
> Well, if it needs to have access to any arbitrary header, then that won't
> always be the case.

That's true.

It could make the test based on the "true" absence or presence of the
header when possible.

But as I think about this, I'm not sure if that's the best way to
do this.  Shouldn't an empty header always be treated (from the news
client perspective) exactly the same as if the header weren't there?  So if
the client say did a:

   HEADERS 1- Reference:

looking for all followup articles, and there was one bogus article in the
group with an empty Reference: header, the client probably wouldn't want
it included in his list.

Because empty headers "never" happen, most clients would never expect
to see it if they used the : option.  So I'm thinking that when in that 1
out of a million chance they do show up, it's more likely to cause problems
(maybe even core dumps or lock-ups) in the client.  So as a service to the
client, I'm thinking the "NON-EMPYT" meaing of : is proably the best.

The only reason I can see for actually supporting the "Header Preset"
version of : would be for those of us looking for bogus articles.  But in
that case, I don't want to see a million Reference headers just to find
that one empty one so this command is not what I would use to search for
that anyway.

Also, if you failed to ignore empty headers, then we are giving "meaning"
to the concept on an empty header.  And that could help encourage the
mis-use of empty headers by users,  "Dejanews might have invented the
"X-No-Archive: header (without the Yes argument)" for example.

So, what does USEFOR say about empty headers again?  Does it say they are
never allowed?  If so, then I think it supports the type of logic I'm
using here.

There aren't any empty headers currently in use for something on Usenet are
there? -- even unofficial things?

> A server would actually be better off indexing *all*
> the headers in an article,

I think this HEADERS command will encourage future designs to do just that.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <20000228212608.617$kG@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <87aeknd2ua.fsf@erlenstar.demon.co.uk> <20000228025703.219$Yt@newsreader.com> <951759933.438276@news.netscum.dk> <20000228153833.742$B7@newsreader.com> <951779481.407957@news.netscum.dk>

Show Full Headers
Complete Article Headers
Message-ID: <20000228212608.617$kG@newsreader.com>
Subject: Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
Date: Tue, 29 Feb 2000 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <87aeknd2ua.fsf@erlenstar.demon.co.uk> <20000228025703.219$Yt@newsreader.com> <951759933.438276@news.netscum.dk> <20000228153833.742$B7@newsreader.com> <951779481.407957@news.netscum.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 591130529
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-User: Curt@NewsReader.Com
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
Newsgroups: news.software.nntp