Article View: news.software.nntp
Article #79392Re: 200 or 201 at initial connection?
From: Julien ÉLIE
Date: Mon, 01 Sep 2008 05:56
Date: Mon, 01 Sep 2008 05:56
39 lines
3092 bytes
3092 bytes
Hi Russ, >> If the argument is a message-id and no such article exists, a 430 >> response MUST be returned. If the argument is a number or is omitted >> and the currently selected newsgroup is invalid, a 412 response MUST >> be returned. If the argument is a number and that article does not >> exist in the currently selected newsgroup, a 423 response MUST be >> returned. If the argument is omitted and the current article number >> is invalid, a 420 response MUST be returned. > > Yes, there are some precendence problems. The intention, I think, is to > say: > > If (the argument is a number or is omitted) and the currently selected > newsgroup is invalid, a 412 response MUST be returned. If the > currently selected newsgroup is valid but the current article number > is invalid, a 420 response MUST be returned. "If the argument is omitted" in the last sentence. Otherwise, it is confusing with the third one, returning 423. Indeed, suppose that in an empty group (=> invalid current article number), you send "ARTICLE 42". Then the article does not exist (423) and the current article number is also invalid (420). I think 423 is the right code, isn't it? > The most common reason for a 412 response is to issue ARTICLE with a > number before issuing any GROUP command. 420 is only used once a valid > current newsgroup has been established. It is also what I understood. But better be without ambiguity in RFC. -- Julien ÉLIE « Tu quoque fili... Ce Brutus... Je finirai par avoir des ennuis avec ce garnement ! » (César)
Technical Details
Message-ID:
<g9g07a$3u6$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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mailReferences:
<g971md$r4v$1@news.trigofacile.com> <877ia0k58u.fsf@windlord.stanford.edu> <g9e16f$54a$1@news.trigofacile.com> <g9f2hn$vto$1@news.trigofacile.com> <874p50onpa.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <g9g07a$3u6$1@news.trigofacile.com> Subject: Re: 200 or 201 at initial connection? Date: Mon, 1 Sep 2008 07:56:51 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <g971md$r4v$1@news.trigofacile.com> <877ia0k58u.fsf@windlord.stanford.edu> <g9e16f$54a$1@news.trigofacile.com> <g9f2hn$vto$1@news.trigofacile.com> <874p50onpa.fsf@windlord.stanford.edu> 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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 39 NNTP-Posting-Host: aaubervilliers-151-1-49-24.w83-114.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1220248619 4038 83.114.131.24 (1 Sep 2008 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Mon, 1 Sep 2008 05:56:59 +0000 (UTC) In-Reply-To: <874p50onpa.fsf@windlord.stanford.edu> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049