Article View: news.software.nntp
Article #44442Re: Batched ARTICLE commands
From: Andrew Gierth
Date: Sat, 26 Feb 2000 00:00
Date: Sat, 26 Feb 2000 00:00
38 lines
2789 bytes
2789 bytes
>>>>> "Curt" == Curt Welch <curt@kcwc.com> writes: Curt> Return codes are something I find problems with for many Curt> commands. There are various error conditions where it is Curt> unclear what should be returned by reading the RFC. For Curt> example, for ARTICLE/HEAD/BODY what return code do you return Curt> when they ask for an article which has been canceled? The Curt> options are: Curt> 423 no such article number in this group Curt> or 430 no such article found The implication of the examples in the draft is that "ARTICLE <id>" should fail with 430, and "ARTICLE nnn" should fail with 423. Curt> And on your PAT example, I added this return code in my Curt> implementation: Curt> 501 remove : from header argument Curt> which happens if the colon is added to the end of the header Curt> argument. I think this is probably close to the same issue you Curt> are trying to address... Nearly but not quite. The point I was trying to clear up is that many existing implementations of XPAT only support headers that are part of the server's overview db (whether or not they are part of the normal XOVER response). Some while ago (a year or two) in this newsgroup there was some discussion of this, and INN changed from returning an empty successful response to returning "501 header not in index". I believe some servers also return this for XHDR on non-overview headers as well. -- Andrew.
Technical Details
Message-ID:
<87u2ivbn30.fsf@erlenstar.demon.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<220220000104304154%planb@newsreaders.com> <240220000054115493%planb@newsreaders.com> <20000225004139.313$nK@newsreader.com> <250220001158002643%planb@newsreaders.com> <20000225125610.123$Ow@newsreader.com> <yl6itzdjb0r.fsf@independence.ecn.ou.edu> <20000225162640.211$2M@newsreader.com> <87n1opgdej.fsf@erlenstar.demon.co.uk> <20000225180328.114$Ys@newsreader.com> <87zosog8kl.fsf@erlenstar.demon.co.uk> <20000225234216.661$0Y@newsreader.com> <8766vbg47q.fsf@erlenstar.demon.co.uk> <20000226160741.777$zY@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <87u2ivbn30.fsf@erlenstar.demon.co.uk> Subject: Re: Batched ARTICLE commands Date: Sat, 26 Feb 2000 00:00:00 +0000 From: Andrew Gierth <andrew@erlenstar.demon.co.uk> References: <220220000104304154%planb@newsreaders.com> <240220000054115493%planb@newsreaders.com> <20000225004139.313$nK@newsreader.com> <250220001158002643%planb@newsreaders.com> <20000225125610.123$Ow@newsreader.com> <yl6itzdjb0r.fsf@independence.ecn.ou.edu> <20000225162640.211$2M@newsreader.com> <87n1opgdej.fsf@erlenstar.demon.co.uk> <20000225180328.114$Ys@newsreader.com> <87zosog8kl.fsf@erlenstar.demon.co.uk> <20000225234216.661$0Y@newsreader.com> <8766vbg47q.fsf@erlenstar.demon.co.uk> <20000226160741.777$zY@newsreader.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.mbox.zip!not-for-mail X-Deja-AN: 590406185 X-Mayan-Date: Long count = 12.19.6.17.16; tzolkin = 13 Cib; haab = 4 Kayab X-Complaints-To: andrew@erlenstar.demon.co.uk Organization: disorganised X-Attribution: AG X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29 X-P-Persistent-Headers: are a bad idea. Newsgroups: news.software.nntp X-Post-Filter: postfilter v0.6 alpha