🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #77150

Re: yet another [slrn] scoring question

#77150
From: those who know me have no need o...
Date: Sat, 21 Apr 2001 02:27
43 lines
2264 bytes
<slrn9e0mdi.1ft.tststs@starflower.tststs.ddns.org> divulged:

>slrn already checks whether the news server provides the XHDR command
>and automatically uses HEAD if it doesn't.  Do you know a way to
>recognize servers that do support XHDR, but in a way that it cannot be
>used for ``expensive scoring''?

grab an arbitrary article's headers (``head n''), select any one
non-overview header and issue an xhdr command (``xhdr header n'') and
inspect the results, if anything other than the value obtained via
``head'' is returned act as if ``set prefer_head 1'' were configured,
otherwise it's safe use a default prefer_head of 0 (don't force it, as
there may be bandwidth or performance reasons for a configured 1).

b0rken server (e.g., typhoon 1.2.3):

head 76100
221 76100 <vxkn19b14yl.fsf@cinnamon.vanillaknot.com>
[...]
Content-Type: text/plain; charset=us-ascii
[...]
..
xhdr content-type 76100
221 content-type fields follow
76100 (none)
..

working server (e.g., inn 2.2.1):

head 76100
221 76100 <vxkn19b14yl.fsf@cinnamon.vanillaknot.com> head
[...]
Content-Type: text/plain; charset=us-ascii
[...]
..
xhdr content-type 76100
221 content-type fields follow
76100 text/plain; charset=us-ascii
..

-- 
okay, have a sig then
Technical Details
Message-ID: <te1s04ngpip33@news.supernews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!newsfeed.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!news.supernews.com!not-a-real-address
References: <fnord9dv1ln.noa.neuromancer@HAL-9000.net> <slrn9dv36b.ab0.jewa@message-id.wahnes-world.de> <fnord9dv4cv.ntc.neuromancer@HAL-9000.net> <slrn9dv5dh.an2.jewa@message-id.wahnes-world.de> <tdv8p02r1ktibe@news.supernews.com> <slrn9e0mdi.1ft.tststs@starflower.tststs.ddns.org>

Show Full Headers
Complete Article Headers
Message-ID: <te1s04ngpip33@news.supernews.com>
Subject: Re: yet another [slrn] scoring question
Date: Sat, 21 Apr 2001 02:27:16 -0000
From: not-a-real-address@usa.net (those who know me have no need of my name)
References: <fnord9dv1ln.noa.neuromancer@HAL-9000.net> <slrn9dv36b.ab0.jewa@message-id.wahnes-world.de> <fnord9dv4cv.ntc.neuromancer@HAL-9000.net> <slrn9dv5dh.an2.jewa@message-id.wahnes-world.de> <tdv8p02r1ktibe@news.supernews.com> <slrn9e0mdi.1ft.tststs@starflower.tststs.ddns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!newsfeed.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!news.supernews.com!not-a-real-address
Newsgroups: news.software.readers
Organization: earthfriends
User-Agent: slrn/0.9.6.3 (Linux)
X-Complaints-To: newsabuse@supernews.com
Lines: 42