🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37516

nntp client - method question

#37516
From: Fred J. LeFevre
Date: Mon, 17 May 1999 00:00
18 lines
1495 bytes
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?

I recognize that the status response will always begin with the 3-digit code, 
however, it seems to me a 3-digit code at the start of some line in a text 
message would not be that unusual.
-- 
------------------------------------------------------------------------
Fred J. LeFevre                                          FJFevre@IBM.net
6307 Hammel Avenue                                        (513) 631-7881
Cincinnati, Ohio 45237-4905


Technical Details
Message-ID: <37404133@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

Show Full Headers
Complete Article Headers
Message-ID: <37404133@news3.us.ibm.net>
Subject: nntp client - method question
Date: Mon, 17 May 1999 00:00:00 +0000
From: fjfevre@ibm.net (Fred J. LeFevre)
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: 479030954
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 16:17:55 GMT, 32.100.63.116
Organization: Channel Firm, Inc.
MIME-Version: 1.0
Newsgroups: news.software.nntp