🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37531

Re: nntp client - method question

#37531
From: Russ Allbery
Date: Tue, 18 May 1999 00:00
22 lines
1719 bytes
Fred J LeFevre <fjfevre@ibm.net> writes:

> I guess I'm not making myself clear.  RFC 977 has an example in section
> 4.5 entitled "Example 5 - interruption due to operator request".  In
> that example, the server prematurely ends the textual response via
> sending "." before sending the 400 status response.  This seems very
> reasonable to me, however, the RFC doesn't seem to dictate that
> behavior.  My question is whether the client can always assume that
> behavior.  I think from your answer, you imply the server will always
> end the textual response, even prematurely, by sending the "."  line.
> That's what I wanted to know.

I would say that you should be able to depend on that.  Any server that
sends coded replies in the middle of a multi-line response and expects the
client to treat them as something other than just more of the multi-line
response would be pretty severely broken in practice.  I highly doubt any
news clients do that.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <ylbtfhyhal.fsf@windlord.stanford.edu>
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> <37409af9@news3.us.ibm.net> <19990518164439.847$Gi@newsreader.com> <3741e194@news3.us.ibm.net>

Show Full Headers
Complete Article Headers
Message-ID: <ylbtfhyhal.fsf@windlord.stanford.edu>
Subject: Re: nntp client - method question
Date: Tue, 18 May 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <37404133@news3.us.ibm.net> <7hpipj$igb$1@shell1.ncal.verio.com> <37409af9@news3.us.ibm.net> <19990518164439.847$Gi@newsreader.com> <3741e194@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
X-Deja-AN: 479104666
Organization: The Eyrie
Newsgroups: news.software.nntp