🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82034

Re: Mandatory HEAD and STAT commands in transit mode

#82034
From: Julien ÉLIE
Date: Wed, 21 Oct 2009 19:28
28 lines
2233 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?
[...]
> 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

I have just found out the answer in RFC 3977, section 3.4.  It is 412:

   Note: some commands have cases that require other commands to be used
   first.  If the former command is implemented but the latter is not,
   the former MUST still generate the relevant specific response code.
   For example, if ARTICLE (Section 6.2.1) is implemented but GROUP
   (Section 6.1.1) is not, the correct response to "ARTICLE 1234"
   remains 412.

Sorry for the disturbance!

-- 
Julien ÉLIE

« Un sourire coûte moins cher que l'électricité
  mais donne autant de lumière. » (Abbé Pierre) 
Technical Details
Message-ID: <hbnncp$52v$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.telesweet.net!gegeweb.org!news.trigofacile.com!not-for-mail
References: <hbafkg$fdn$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <hbnncp$52v$1@news.trigofacile.com>
Subject: Re: Mandatory HEAD and STAT commands in transit mode
Date: Wed, 21 Oct 2009 21:28:18 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <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.telesweet.net!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 28
NNTP-Posting-Host: aaubervilliers-151-1-27-37.w83-112.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="ISO-8859-15";
 reply-type=response
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1256153306 5215 83.112.18.37 (21 Oct 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Wed, 21 Oct 2009 19:28:26 +0000 (UTC)
In-Reply-To: <hbafkg$fdn$1@news.trigofacile.com>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049