Article View: news.software.nntp
Article #61122Re: [FNTP] 'in-completeness'
From: Curt Welch
Date: Mon, 07 Oct 2002 05:16
Date: Mon, 07 Oct 2002 05:16
72 lines
4574 bytes
4574 bytes
Russ Allbery <rra@stanford.edu> wrote: > Curt Welch <curt@kcwc.com> writes: > > > If you want a list of extensions read the RFCs. If you want to find > > out if a server supports something, try HELP. If a client wants to use > > something, the extension damn will better have been designed so that > > the client can simply try the command to find out if it's supported. > > Sometimes those commands return a lot of data. Sometimes there are a lot > of things about which you want to know whether or not they're supported. > It's easier to do that by sending a single command. > > And it's not always possible to design extensions that way. Sure it is. > A good > example would be extended wildmat support (things like character groups), > which is not required by the standard but which is implemented by some > servers for XPAT and the LIST commands. How do you test, as a client, > for whether or not that's supported if you want to use it? That's a good example of the type of thing which is hard to test for, but, it would be better I believe to add a custom command which tells you the status of wildmat support instead of trying to do it with the generic LIST EXTENSIONS command. The type of data you need to return to correctly and cleanly document an extension can in theory get very complex. I think it's far better to force each proposed extension to define it's own way of identifying itself. For most extensions it would be the command which is always designed to return a non 5xx code when used with no arguments. I don't mind the concept of commands that lets you test for extensions, but I very much think that idea of trying to create one generic command to deal with all possible extensions, AND to imply that all extensions to the protocol MUST be registered through that command, is just wrong. For example, for wildmat support, a better way to test for extensions might be to define a wildmat support command which lists the information, in a way that works well for wildmat. Or you might have added a wildmat test command where you give it a wildmat and feed it data. It returns every line which matches your test. I think that LIST EXTENSIONS is a good idea done wrong. > Another useful use of LIST EXTENSIONS will be to get the list of > supported SASL mechanisms. I'd rather see that as a specal command which is only part of the SASL extensions. If I, as a client, need to know SASL information, why would I use a command that dumps all this shit about wildmat support? > I know it doesn't look that obviously useful, but pretty much every other > Internet protocol has something like this (POP, IMAP, SMTP, etc.) and > there are good reasons for that, even if subtle and rarely *vital* > reasons. Making sure there is a well defined way to test for extensions is good. LIST EXTENSIONS is bad. :) > > XHDRALMOSTFINISHED - well, it works for all headers now but it's slow > > as > > hell if you ask for non xover headers. > > So is your XHDR fully finished? :) Nope. That's one that would show up for my server. :) -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20021007011605.763$7M@newsreader.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!ps01-chi1!rip!news.webusenet.com!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<58068.n92202@archiver.winews.net> <051020021916176404%planb@newsreaders.com> <yl7kgwcv2p.fsf@windlord.stanford.edu> <051020022131263638%planb@newsreaders.com> <uq1jcg701ptf24@corp.supernews.com> <20021006224605.147$kk@newsreader.com> <ylptunq700.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <20021007011605.763$7M@newsreader.com>
Subject: Re: [FNTP] 'in-completeness'
Date: Mon, 07 Oct 2002 05:16:05 +0000
From: curt@kcwc.com (Curt Welch)
References: <58068.n92202@archiver.winews.net> <051020021916176404%planb@newsreaders.com> <yl7kgwcv2p.fsf@windlord.stanford.edu> <051020022131263638%planb@newsreaders.com> <uq1jcg701ptf24@corp.supernews.com> <20021006224605.147$kk@newsreader.com> <ylptunq700.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!ps01-chi1!rip!news.webusenet.com!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com 5+1bt6QkV92owt1Q/xIQZ7ZUchP0zipnvIFa25DCF8n1nn2/.
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 71