Add statuses 421, 422
This commit is contained in:
parent
e191f3655d
commit
ee1adcf1ac
1 changed files with 4 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue