🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82011

Mandatory HEAD and STAT commands in transit mode

#82011
From: Julien ÉLIE
Date: Fri, 16 Oct 2009 18:56
34 lines
2155 bytes
Hi,

On a mode-switching news server, what should be the response codes
to HEAD and STAT when called as-is or with an article number?

These commands are mandatory and I do not know well what should be
returned by a feeder (innd).

* "401 MODE-READER" because such commands would work after
  MODE READER and the selection of a newsgroup?

* "412" because no newsgroup has been selected yet?

* "501" for "HEAD 12" because it is not a valid message-ID (but it
  sounds strange to return 501 to "HEAD" without an argument...)?

* "503" because we only "handle a subset of legitimate cases"?

* other code?



My guess would be to use 412 but I prefer to ask for your opinion.
The weird thing with 412 is that we cannot select a newsgroup anyway!

HEAD 12
412 Message-ID needed in transit mode

-- 
Julien ÉLIE

« L'art de la médecine consiste à distraire le malade
  pendant que la nature le guérit. » (Voltaire) 
Technical Details
Message-ID: <hbafkg$fdn$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <hbafkg$fdn$1@news.trigofacile.com>
Subject: Mandatory HEAD and STAT commands in transit mode
Date: Fri, 16 Oct 2009 20:56:14 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 34
NNTP-Posting-Host: aaubervilliers-151-1-19-158.w83-114.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-15";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1255719376 15799 83.114.138.158 (16 Oct 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Fri, 16 Oct 2009 18:56:16 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049