Thread View: news.software.nntp
2 messages
2 total messages
Started by John Webb
Fri, 16 May 1997 00:00
Diablo: Are these return/response codes right ??
Author: John Webb
Date: Fri, 16 May 1997 00:00
Date: Fri, 16 May 1997 00:00
29 lines
1673 bytes
1673 bytes
I am evaluating Diablo, which looks to be a terrific product.
I have a couple of minor questions about the return/reply codes that it
sends in response to commands. Maybe it's a simple misunderstanding on my
part of RFC 977 (and the NNTP-NEW draft).
1) The "greeting" code when a connection is first made is '200 Hostname
News Server...'; that is, the initial return/response code is 200. But
shouldn't it be 201, since POST commands aren't accepted/valid with
Diablo ?
2) Several of the return/reply codes for the Diablo-specific commands
(i.e. FEEDRSET, FEEDADD, etc) have a x9x format. For example, one
return/reply for FEEDRSET is '490 Operation not allowed'. But aren't the
x9x codes used for debugging replies? Shouldn't these Diablo codes be x8x
instead ('480 Operation not allowed' in the example above) ? I thought
the x8x were reserved for "extension" codes.
Like I said, I may just be missing something obvious in the
interpretation of RFC977 and the NNTP-NEW draft. Or maybe there's some
"real-world" reason Diablo doesn't follow the "Specs". Does anyone have
any ideas/tips/info on this?
TIA,
John
Re: Diablo: Are these return/response codes right ??
Author: Matt Dillon
Date: Fri, 16 May 1997 00:00
Date: Fri, 16 May 1997 00:00
47 lines
2599 bytes
2599 bytes
:In article <MPG.de5acc5c751a0509896ad@news.texas.net>,
:John Webb <johnw@logiclabs.com> wrote:
:>
:>I am evaluating Diablo, which looks to be a terrific product.
:>
:>I have a couple of minor questions about the return/reply codes that it
:>sends in response to commands. Maybe it's a simple misunderstanding on my
:>part of RFC 977 (and the NNTP-NEW draft).
:>
:>1) The "greeting" code when a connection is first made is '200 Hostname
:>News Server...'; that is, the initial return/response code is 200. But
:>shouldn't it be 201, since POST commands aren't accepted/valid with
:>Diablo ?
INN greets with code 200 but doesn't accept post commands (unless
you go into mode reader), so I had diablo greet with 200 too.
:>2) Several of the return/reply codes for the Diablo-specific commands
:>(i.e. FEEDRSET, FEEDADD, etc) have a x9x format. For example, one
:>return/reply for FEEDRSET is '490 Operation not allowed'. But aren't the
:>x9x codes used for debugging replies? Shouldn't these Diablo codes be x8x
:>instead ('480 Operation not allowed' in the example above) ? I thought
:>the x8x were reserved for "extension" codes.
Probably. I was trying to find unused response code space. News
response codes almost always have to be switched() on individually...
I don't know a single piece of software that picks out subtypes from
the response code. The FEED stuff is experimental anyway... I really
need to rewrite that part of the code.
There is also protocol weirdness in the takethis & ihave response
codes that INN uses in certain special cases, and I figured I had
better duplicate INN's behavior there too.
-Matt
:>Like I said, I may just be missing something obvious in the
:>interpretation of RFC977 and the NNTP-NEW draft. Or maybe there's some
:>"real-world" reason Diablo doesn't follow the "Specs". Does anyone have
:>any ideas/tips/info on this?
:>
:> TIA,
:> John
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