Article View: news.software.nntp
Article #44968Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
From: Curt Welch
Date: Thu, 09 Mar 2000 00:00
Date: Thu, 09 Mar 2000 00:00
55 lines
3219 bytes
3219 bytes
meowing@banet.net (Chunk Light Fluffy) wrote: > Andrew Gierth wrote: > > Or another option: allow the client to specify whether it is > > interested in multiple values. e.g. > > > > C: HEADERS from,x-meow,,,message-id 45-46 > > S: 299 from,x-meow,,,message-id headers follow > > S: 45\tpedophile@example.net\tfirst second\t:honk:\twoof\t<1@1.1> > > S: 46\ttnetscum@cabal.invalid\tMeow\t\t\t<2@2.2>\r\n > > S: . > > Better, but I'm bothered by the idea that the client needs to be sort > of clairvoyant; that is, you need to know the header is going to show > up x times before you see it. Sigh. Or you could just use some other control character to separate the multiple headers (say \01 - ASCII Start of Header :)): HEADERS 45-46 from x-meow 221 From X-meow headers follow 45\tpedophile@example.net\tWoff1\01Woff2\01Woff3 46\tnetscum@cabal.invalid\tMeow . You would want to pick a control character that had the least possible chance of being used in a header. I don't know much about all the other character sets used, or proposed, so I don't know of ^A would be best. \r or \n are options here as well but I suspect that would cause too many problems. I think the wildmat pattern would be applied to each header separately and if it matched any of the multiple headers, it would be counted as a match. So HEADERS 45-46 from x-meow:Woff2 would match article 45 from the example above. My first thought on whether you should support duplicate headers is that it's not needed for the "real" headers in use on Usenet today, and doing so would only encourage people to use duplicates in the future. But my second thought is if we don't support it, then one day down the road we will be back here again talking about adding the ALLHEADERS command to deal with the fact that HEADERS doesn't work right. So now I'm thinking it might be the right thing to do. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20000308221123.782$4P@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!not-for-mailReferences:
<87aeknd2ua.fsf@erlenstar.demon.co.uk> <87r9dw1yqz.fsf@erlenstar.demon.co.uk> <951884803.798712@news.netscum.dk> <slrn8bprr0.sh6.meowing@slip-32-100-244-33.ma.us.prserv.net> <952036622.999006@news.netscum.dk> <slrn8buhgk.vfi.meowing@meowhost.meow.invalid> <87bt4weebx.fsf@erlenstar.demon.co.uk> <slrn8cduhh.h1q.meowing@slip-32-101-160-153.ma.us.prserv.net>Show Full Headers
Complete Article Headers
Message-ID: <20000308221123.782$4P@newsreader.com>
Subject: Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
Date: Thu, 09 Mar 2000 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <87aeknd2ua.fsf@erlenstar.demon.co.uk> <87r9dw1yqz.fsf@erlenstar.demon.co.uk> <951884803.798712@news.netscum.dk> <slrn8bprr0.sh6.meowing@slip-32-100-244-33.ma.us.prserv.net> <952036622.999006@news.netscum.dk> <slrn8buhgk.vfi.meowing@meowhost.meow.invalid> <87bt4weebx.fsf@erlenstar.demon.co.uk> <slrn8cduhh.h1q.meowing@slip-32-101-160-153.ma.us.prserv.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: 594994710
X-User: Curt@NewsReader.Com
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
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Newsgroups: news.software.nntp