🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #39237

Re: HEAD BODY STAT COMMANDS

#39237
From: meow
Date: Tue, 17 Aug 1999 00:00
31 lines
1941 bytes
prozac <prozac@microsoft.com> wrote:

> Does anyone know the specific possible Server's commands (replies) to those
> Client's command

They are in the RFC.

> Cause in RFC I could onlt find commands that suits all the group of
> article/head/body/stat generally...

There's a good reason for that.  In most implementations, they are
really the same command.  All four (yes, even STAT is supposed to
verify the message ID in the article and not rely on history or other
indexes) are expected to fetch the article from the spool; the only
difference is how much (if any) of the article actually gets sent back
to the client.  The parameters you can send for each (artnum, message
id or nothing to use the current group/artnum) are identical.

(Also, NEXT and LAST are really versions of STAT and will return the
same type if response on success.)

So, while the 200-series success codes will be different for each of
these four commands, the rest of the text returned on the response
line will be the same.  The only practical difference you need to care
about during handling is that STAT/NEXT/LAST return single line
reponses and the rest return multilines.

The 400/500 series error codes will be the same (with a couple
additions for NEXT/LAST).

Technical Details
Message-ID: <87pv0mu26j.fsf@banet.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
References: <7parn8$7ah$1@news.netvision.net.il>

Show Full Headers
Complete Article Headers
Message-ID: <87pv0mu26j.fsf@banet.net>
Subject: Re: HEAD BODY STAT COMMANDS
Date: Tue, 17 Aug 1999 00:00:00 +0000
From: meow <meowing@banet.net>
References: <7parn8$7ah$1@news.netvision.net.il>
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: 513741720
X-Notice: should be reported to postmaster@ibm.net
X-Complaints-To: postmaster@ibm.net
X-Trace: 17 Aug 1999 10:33:20 GMT, 32.101.160.55
Organization: fewf
X-Meow: meow
Newsgroups: news.software.nntp