Article View: news.software.nntp
Article #17806Re: Diablo: Are these return/response codes right ??
From: 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
Technical Details
Message-ID:
<5lh249$p3k$1@flea.best.net>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:
<MPG.de5acc5c751a0509896ad@news.texas.net>Show Full Headers
Complete Article Headers
Message-ID: <5lh249$p3k$1@flea.best.net> Subject: Re: Diablo: Are these return/response codes right ?? Date: Fri, 16 May 1997 00:00:00 +0000 From: dillon@flea.best.net (Matt Dillon) References: <MPG.de5acc5c751a0509896ad@news.texas.net> 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: 241850369 Organization: Best Internet Communications, Inc. - 415 964 BEST Newsgroups: news.software.nntp