Thread View: news.software.nntp
4 messages
4 total messages
Started by Mark Carrington
Thu, 27 May 2004 08:42
XOVER 420 response
Author: Mark Carrington
Date: Thu, 27 May 2004 08:42
Date: Thu, 27 May 2004 08:42
19 lines
1525 bytes
1525 bytes
>From RFC 2980:
"If no articles are in the range specified, a 420 error response is returned
by the server."
However, INN currently seems to return the 224 response, followed by an
empty list.
Which is correct? Even if 420 is correct according to the RFC, would it
still be better to return 224 if this is now the defacto standard?
Mark Carrington
mark.carrington@mutantpenguin.co.uk
http://www.mutantpenguin.co.uk/
--
MPNews - host your own newsgroups and access them via the web!
http://www.mpnewsserver.com/
Re: XOVER 420 response
Author: Jeffrey M. Vinocur
Date: Thu, 27 May 2004 13:45
Date: Thu, 27 May 2004 13:45
15 lines
1624 bytes
1624 bytes
In article <40b5a9ff$0$4576$db0fefd9@news.zen.co.uk>, Mark Carrington <mark.carrington@mutantpenguin.co.uk> wrote: > >Which is correct? Even if 420 is correct according to the RFC, would it >still be better to return 224 if this is now the defacto standard? You may wish to read in draft-ietf-nntpext-base-22.txt (the upcoming standard) about the OVER command, which is fully specified, and indicates that 420 is not to be returned for OVER when a range of article numbers is provided as an argument. -- Jeffrey M. Vinocur jeff@litech.org
Re: XOVER 420 response
Author: Mark Carrington
Date: Thu, 27 May 2004 14:12
Date: Thu, 27 May 2004 14:12
25 lines
2119 bytes
2119 bytes
> You may wish to read in draft-ietf-nntpext-base-22.txt (the
> upcoming standard) about the OVER command, which is fully
> specified, and indicates that 420 is not to be returned for OVER
> when a range of article numbers is provided as an argument.
It does say, however, that it should return 423 if the argument is a range.
The new draft does seem slightly inconsistent in the result codes it
specifies for different arguments. It states that 420 should be returned if
a message-id was specified, and 423 if a range was specified. But one of the
examples shows a single message number being specified (presumably a single
number is counted as a range), and 420 being returned.
Leaving the new draft aside, which response would be considered the
preferred option for compatibility with existing clients using the XOVER
command?
Mark Carrington
mark.carrington@mutantpenguin.co.uk
http://www.mutantpenguin.co.uk/
--
MPNews - host your own newsgroups and access them via the web!
http://www.mpnewsserver.com/
Re: XOVER 420 response
Author: Russ Allbery
Date: Thu, 27 May 2004 20:49
Date: Thu, 27 May 2004 20:49
28 lines
2545 bytes
2545 bytes
Mark Carrington <mark.carrington@mutantpenguin.co.uk> writes:
> It does say, however, that it should return 423 if the argument is a
> range.
Correct. That's what you should do going forward, I believe; that's what
INN will be changed to do. There was a fair bit of discussion about this
in the working group, and it was decided that it was best to distinguish
for HDR between the case where the article wasn't found and the case where
the article was found but didn't contain the header. OVER was then made
consistent with HDR.
> The new draft does seem slightly inconsistent in the result codes it
> specifies for different arguments. It states that 420 should be returned
> if a message-id was specified, and 423 if a range was specified. But one
> of the examples shows a single message number being specified
> (presumably a single number is counted as a range), and 420 being
> returned.
The example is wrong; I'll drop a note to the group. Note that the
examples are not normative; the text overrides. But we'll still fix
that.
--
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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads