ietf-nntp LISTGROUP can't return 412
Clive D.W. Feather
clive at demon.net
Thu Jul 5 03:08:22 PDT 2001
Russ Allbery said:
> (Sorry about the flurry of messages; I'm auditing the entire draft against
> INN and sending messages as I see things. Hopefully the individual
> messages will make tracking each separate issue easier. This one should
> have been combined with the previous note, but I didn't see it before I
> sent the last message.)
>
> The LISTGROUP list of response codes in 9.5.1.1.1 includes:
>
> 412 Not currently in newsgroup
>
> That response seems nonsensical for LISTGROUP; LISTGROUP can be used
> instead of the GROUP command, and it's therefore entirely valid to use
> outside of a newsgroup. I don't believe 412 is a valid response to a
> LISTGROUP command.
It's a valid response when there is no argument *and* no currently selected
group.
> Similarly, the examples section has:
>
> Example of an attempt to retrieve an article when the current
> group selected is empty
> [S] 200 NNTP Service Ready
> [C] LISTGROUP example.empty.newsgroup
> [S] 412 No current article selected
>
> This example makes no sense (particularly the description).
I think that the examples *should* have been:
Example of LISTGROUP on an empty group:
[S] 200 NNTP Service Ready
[C] LISTGROUP example.empty.newsgroup
[S] 211 list of article numbers follows
[S] .
Example of LISTGROUP on a valid current group:
[S] 200 NNTP Service Ready
[C] GROUP misc.test
[S] 211 2000 3000234 3002322 misc.test selected
[C] LISTGROUP
[S] 211 list follows
[S] 3000234
[S] 3000237
[S] 3000238
[S] 3000239
[S] 3002322
[S] .
Example of LISTGROUP failing because no group has been selected:
[S] 200 NNTP Service Ready
[C] LISTGROUP
[S] 412 no current group
[C] GROUP example.is.sob.bradner.or.barber
[S] 411 no such group
[C] LISTGROUP
[S] 412 no current group
--
Clive D.W. Feather | Work: <clive at demon.net> | Tel: +44 20 8371 1138
Internet Expert | Home: <clive at davros.org> | Fax: +44 20 8371 1037
Demon Internet | WWW: http://www.davros.org | DFax: +44 20 8371 4037
Thus plc | | Mobile: +44 7973 377646
More information about the ietf-nntp
mailing list