Article View: news.software.nntp
Article #89990Re: Proposal specifications for MAXARTNUM
From: Julien ÉLIE
Date: Wed, 04 Jan 2023 23:51
Date: Wed, 04 Jan 2023 23:51
53 lines
3513 bytes
3513 bytes
Hi Bo,
> The maximum article number is a capability of the client which is useful
> for the server to know. Is this the only such capability that could exist?
> If there are others, it might be better to instead define a general CLIENTCAP
> command with a MAXARTNUM sub-command.
That's a good point.
We could define a general ENABLE extension, like IMAP has (RFC 5161).
They defined only 1 extension to start with (CONDSTORE), and afterwards
only two up to now if I am not mistaken: METADATA (RFC 5464) and UTF8
(RFC 6855).
We could do something similar, indeed...
I am unsure we'll end up with many capabilities, though. Maybe one for
UTF-8 to advertise that a client cope with internationalized newsgroup
names?
I am unsure "enabling UTF-8" for a client is really needed for NNTP as
RFC 3977 says clients SHOULD match newsgroups names octet by octet. A
news server may already send non-ASCII newsgroup names, and I don't
think it should not do that unless the client asks for it. But I may be
wrong. Any point of view about that?
From RFC 3977:
o Although this specification allows UTF-8 for newsgroup names, they
SHOULD be restricted to US-ASCII until a successor to RFC 1036
[RFC1036] standardises another approach. 8-bit encodings SHOULD
NOT be used because they are likely to cause interoperability
problems.
Until such specifications
are published, implementations SHOULD match newsgroup names octet by
octet. It is anticipated that any approved scheme will be applied
"at the edges", and therefore octet-by-octet comparison will continue
to apply to most, if not all, uses of newsgroup names in NNTP.
If we're going to have only a very few, if any, more general "ENABLE"
commands, is it worth the complexification of defining its parsing
instead of just having top-level commands?
ENABLE MAXARTNUM=18446744073709551615 UTF8=ACCEPT NULCHARS=ACCEPT
MAXRESPLINES=UNLIMITED
Just an example; apart from MAXARTNUM, the other keywords aren't
probably the right way to extend the requirements of NNTP Version 2.
--
Julien ÉLIE
« Il ne faut jamais parler sèchement à un Numide. » (Astérix)
Technical Details
Message-ID:
<tp53et$7clk$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<tnqm14$35bas$1@news.trigofacile.com> <tou5si$1na9g$1@dont-email.me>Show Full Headers
Complete Article Headers
Message-ID: <tp53et$7clk$1@news.trigofacile.com> Subject: Re: Proposal specifications for MAXARTNUM Date: Thu, 5 Jan 2023 00:51:57 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <tnqm14$35bas$1@news.trigofacile.com> <tou5si$1na9g$1@dont-email.me> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: Groupes francophones par TrigoFACILE Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 4 Jan 2023 23:51:57 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176.143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="242356"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Cancel-Lock: sha1:yvk84vwbQi5+ZWPoh54ig9Haf6I= sha256:5evzX2awRSnCq1dC0LoU97uh7eFAfNzca59znCie1x4= sha1:w+CI9R5uTyafVE011V2zAnv7Uf4= sha256:SiFjxoqWrVFrO8o5iepMYAThtgYwkPQXor8YMP17cX0= In-Reply-To: <tou5si$1na9g$1@dont-email.me>