Article View: news.software.nntp
Article #66900Re: New NNTP draft -- Section 5
From: Russ Allbery
Date: Mon, 20 Oct 2003 23:51
Date: Mon, 20 Oct 2003 23:51
35 lines
3062 bytes
3062 bytes
Graham Drabble <graham.drabble@lineone.net> writes:
> Russ Allbery <rra@stanford.edu> wrote:
>> No, that's not a problem. POST will return 480, which will tell
>> the client that it has to authenticate.
> No mention of 480 there. At that point it is either allowed or not.
It's listed in the generic responses section (which I posted the other
day) and will be elaborated on in a future authentication extension RFC
(as I noted, authentication is currently out of scope).
> I'm surprised at that. Either /^2/ or substr(code,0,1) == 2 (or the
> equivelent syntax for other languages) would seem to cover it (I assume
> most people treat it as a text string of numbers rather than as numeric
> data, if not then a simple code >=200 && <300 is standards compliant).
You have to add a separate code path to check for that, and then you have
to think about whether to treat it like 200 or 201. It's not always a lot
more complexity, but it's complexity that you have to add every single
place you process an NNTP response.
> Also going back to the original 200/201 response, what do servers
> currently do and whether there are actually clients that have a problem
> with either.
INN responses 200 if there's any hope that the user can authenticate to be
able to post, and does so precisely because when for a short time it
returned 201, there were multiple reports of problems.
--
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:
<87d6creadp.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.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!cyclone.bc.net!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<87fzhryxdc.fsf@windlord.stanford.edu> <871xta1bbb.fsf@windlord.stanford.edu> <874qy3hnhl.fsf_-_@windlord.stanford.edu> <Xns941AB877861BAgrahamdrabblelineone@ID-77355.user.dfncis.de> <87ekx7g6tb.fsf@windlord.stanford.edu> <Xns941AE6F6CF380grahamdrabblelineone@ID-77355.user.dfncis.de> <87ptgredpn.fsf@windlord.stanford.edu> <Xns941B5A6B14E1grahamdrabblelineone@ID-77355.user.dfncis.de>Show Full Headers
Complete Article Headers
Message-ID: <87d6creadp.fsf@windlord.stanford.edu> Subject: Re: New NNTP draft -- Section 5 Date: Mon, 20 Oct 2003 16:51:14 -0700 From: Russ Allbery <rra@stanford.edu> References: <87fzhryxdc.fsf@windlord.stanford.edu> <871xta1bbb.fsf@windlord.stanford.edu> <874qy3hnhl.fsf_-_@windlord.stanford.edu> <Xns941AB877861BAgrahamdrabblelineone@ID-77355.user.dfncis.de> <87ekx7g6tb.fsf@windlord.stanford.edu> <Xns941AE6F6CF380grahamdrabblelineone@ID-77355.user.dfncis.de> <87ptgredpn.fsf@windlord.stanford.edu> <Xns941B5A6B14E1grahamdrabblelineone@ID-77355.user.dfncis.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!cyclone.bc.net!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 35 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1066693874 11286 171.64.19.147 (20 Oct 2003 X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Common Lisp, linux) Cancel-Lock: sha1:Umu4iErZm1hlIAq2n8VQ5zPUDjM=