[issue5209] nntplib needs updating to RFC 3977
Julien ÉLIE
report at bugs.python.org
Sun Nov 28 10:25:22 CET 2010
Julien ÉLIE <julien at trigofacile.com> added the comment:
> + Whether posting is allowed depends on whether it
> + is included in results of CAPABILITIES; see
> + RFC 3977 section 5.1.2.
> + Deprecated:
> If the response code is 200, posting is allowed;
> if it 201, posting is not allowed."""
200 and 201 do not have a deprecated meaning in RFC 3977.
200 = posting may be available during the session (possibly after commands like STARTTLS or AUTHINFO have been successfully sent)
201 = posting will never be allowed in the session, whatever the user does.
I agree that the only way to know whether posting is allowed at a given time during the session is to send CAPABILITIES and to look for POST.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5209>
_______________________________________
More information about the Python-bugs-list
mailing list