🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37520

Re: nntp client - method question

#37520
From: Fred J. LeFevre
Date: Mon, 17 May 1999 00:00
33 lines
2087 bytes
I guess I was fixating on the sentence in 2.4.2, "In addition, below is listed 
a general set of response codes that may be received at any time.".

Can a client make the assumption that the server will end textual response via 
the single line containing only a period before sending one of these section 
2.4.3 General Responses such as '400 service discontinued'?

In article <7hpipj$igb$1@shell1.ncal.verio.com>, gerg@shell1.ncal.verio.com 
says...
>
>fjfevre@ibm.net (Fred J. LeFevre) writes:
>>I have been reading RFC 977, and I have what may be a very simple question.
>>
>>Let's say a command is issued to a server, the server sends a status response 
>>and then begins sending textual responses.  Because certain status responses 
>>may be sent at any time, how can the client ascertain with certainty that a 
>>given response is textual or status?
>>
>
>The RFC defines which commands will receive single-line responses
>and which will receive multi-line responses.  That's how the client
>knows what to expect.
>
>  -Greg

-- 
------------------------------------------------------------------------
Fred J. LeFevre                                          FJFevre@IBM.net
6307 Hammel Avenue                                        (513) 631-7881
Cincinnati, Ohio 45237-4905


Technical Details
Message-ID: <37409af9@news3.us.ibm.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: <37404133@news3.us.ibm.net> <7hpipj$igb$1@shell1.ncal.verio.com>

Show Full Headers
Complete Article Headers
Message-ID: <37409af9@news3.us.ibm.net>
Subject: Re: nntp client - method question
Date: Mon, 17 May 1999 00:00:00 +0000
From: fjfevre@ibm.net (Fred J. LeFevre)
References: <37404133@news3.us.ibm.net> <7hpipj$igb$1@shell1.ncal.verio.com>
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: 479194510
X-Notice: should be reported to postmaster@ibm.net
Content-Type: Text/Plain; charset=US-ASCII
X-Complaints-To: postmaster@ibm.net
X-Trace: 17 May 1999 22:40:57 GMT, 32.100.63.153
Organization: Channel Firm, Inc.
MIME-Version: 1.0
Newsgroups: news.software.nntp