Article View: news.software.nntp
Article #79393Re: 200 or 201 at initial connection?
From: Russ Allbery
Date: Mon, 01 Sep 2008 07:30
Date: Mon, 01 Sep 2008 07:30
28 lines
2244 bytes
2244 bytes
Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> writes:
>> 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.
Well, yes.
> 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?
Yes.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87d4joe32b.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!newshub.sdsu.edu!headwall.stanford.edu!news.stanford.edu!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> <g9g07a$3u6$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <87d4joe32b.fsf@windlord.stanford.edu> Subject: Re: 200 or 201 at initial connection? Date: Mon, 01 Sep 2008 00:30:04 -0700 From: Russ Allbery <rra@stanford.edu> 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> <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!newshub.sdsu.edu!headwall.stanford.edu!news.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 28 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.stanford.edu 1220254204 30454 171.64.19.147 (1 Sep 2008 07:30:04 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:Pnpwqlgq46b13A7+hRPyEz2+O2o=