Article View: news.software.nntp
Article #44476Re: [NNTP Draft] 8. The CAPABILITIES DISCOVERY Step
From: Russ Allbery
Date: Sat, 26 Feb 2000 00:00
Date: Sat, 26 Feb 2000 00:00
57 lines
3053 bytes
3053 bytes
These are responses to a complete reading of the current draft (I took advantage of Andrew's recent posting of it to news.software.nntp to review it). I'm commenting as I see things that seem unclear. Andrew Gierth <andrew@erlenstar.demon.co.uk> writes: > 8.1 LIST EXTENSIONS [...] > Each line listing an extension in the extension-listing > begins with a single space. That space IS NOT optional, nor > does it indicate general white space. This space guarantees > that the line can never be misinterpreted as the end of the > extension- listing, but is required even where there is no > possibility of ambiguity. I don't understand the purpose of this. What's the justification for not using period-stuffing like every other multiline response uses? In practice, the stuffing will rarely be necessary, as capabilities won't begin with a period (in fact, that could simply be explicitly ruled out). Requiring specific types of whitespace is a recipe for disaster. Humans assume that where there is whitespace, arbitrary whitespace is allowed. > A typical example reply to the LIST EXTENSIONS command might > be a multiline reply of the form: > [C] LIST EXTENSIONS > [S] 202 Extensions supported: > [S] OVER > [S] PAT > [S] LISTGROUP > [S] . Note that the single space doesn't appear to be present in the example. > The client NNTP should configure itself for the basic NNTP > functionality defined in this document, or issue commands that > might change the state of the server, or issue the QUIT > command (see section 10.1) if a particular extension is > required for the client to properly operate. The note about "commands that might change the state of the server" seems a bit poorly specified and vague. At the least, I think it would be worth saying that the client, upon taking any action that may make extensions available, should confirm their presence by sending LIST EXTENSIONS again. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<ylsnyf15zy.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-mailReferences:
<87og93d352.fsf@erlenstar.demon.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <ylsnyf15zy.fsf@windlord.stanford.edu> Subject: Re: [NNTP Draft] 8. The CAPABILITIES DISCOVERY Step Date: Sat, 26 Feb 2000 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <87og93d352.fsf@erlenstar.demon.co.uk> 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: 590524892 To: ietf-nntp@academ.com Content-Type: text/plain; charset=us-ascii Organization: The Eyrie Mime-Version: 1.0 User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne) Newsgroups: news.software.nntp