Add statuses 421, 422

This commit is contained in:
XANTRONIX Development 2024-11-26 12:08:29 -05:00
parent e191f3655d
commit ee1adcf1ac

View file

@ -27,6 +27,8 @@ class ResponseCode(enum.Enum):
NNTP_NEWSGROUP_NOT_FOUND = 411
NNTP_NEWSGROUP_NOT_SELECTED = 412
NNTP_ARTICLE_INVALID_NUMBER = 420
NNTP_ARTICLE_NO_NEXT = 421
NNTP_ARTICLE_NO_PREVIOUS = 422
NNTP_ARTICLE_NOT_FOUND_NUM = 423
NNTP_ARTICLE_NOT_FOUND_ID = 430
NNTP_POST_PROHIBITED = 440
@ -57,6 +59,8 @@ class ResponseCode(enum.Enum):
411: "No such newsgroup",
412: "No newsgroup selected",
420: "Current article number is invalid",
421: "No next article in this group",
422: "No previous article in this group",
423: "No article found by that number",
430: "No article found by that message ID",
440: "Posting prohibited",