[issue10287] NNTP authentication should check capabilities

Julien ÉLIE report at bugs.python.org
Sun Nov 6 14:03:02 CET 2011

Julien ÉLIE <julien at trigofacile.com> added the comment:

A drawback is that CAPABILITIES will still being unsent after an upgrade of the news server to a more up-to-date version supporting the command.

If CAPABILITIES is not understood by the news server, it is not an issue.  A 500 response code is usually answered by the news server, which is RFC-compliant.  nntplib should then behave properly.  (getcapabilities() returns an empty dictionary when CAPABILITIES is not implemented.)


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list