> + 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.
General RFC 3977 support was added as part of Issue 9360 (revision 0077ee30134c), so I am closing this one. For the record there are a couple bits of the patch that someone might still find useful: * New NNTP(bind=...) parameter * More lenient checking for successful authentication status
History
Date
User
Action
Args
2022-04-11 14:56:45
admin
set
github: 49459
2015-06-14 13:55:08
martin.panter
set
status: open -> closednosy: + martin.pantermessages: + resolution: out of datestage: resolved