Add statuses used by IHAVE

This commit is contained in:
XANTRONIX Development 2024-11-30 18:23:15 -05:00
parent fcdfa488dd
commit 9450957740

View file

@ -20,8 +20,10 @@ class ResponseCode(enum.Enum):
NNTP_HEADERS_FOLLOW = 225 NNTP_HEADERS_FOLLOW = 225
NNTP_ARTICLE_LISTING_ID_FOLLOWS = 230 NNTP_ARTICLE_LISTING_ID_FOLLOWS = 230
NNTP_GROUPS_NEW_FOLLOW = 231 NNTP_GROUPS_NEW_FOLLOW = 231
NNTP_ARTICLE_RECEIVED_ID = 235
NNTP_ARTICLE_RECEIVED = 240 NNTP_ARTICLE_RECEIVED = 240
NNTP_AUTH_ACCEPTED = 281 NNTP_AUTH_ACCEPTED = 281
NNTP_INQUIRY_ARTICLE_ID = 335
NNTP_INQUIRY_ARTICLE = 340 NNTP_INQUIRY_ARTICLE = 340
NNTP_INQUIRY_PASSPHRASE = 381 NNTP_INQUIRY_PASSPHRASE = 381
NNTP_NEWSGROUP_NOT_FOUND = 411 NNTP_NEWSGROUP_NOT_FOUND = 411
@ -31,6 +33,7 @@ class ResponseCode(enum.Enum):
NNTP_ARTICLE_NO_PREVIOUS = 422 NNTP_ARTICLE_NO_PREVIOUS = 422
NNTP_ARTICLE_NOT_FOUND_NUM = 423 NNTP_ARTICLE_NOT_FOUND_NUM = 423
NNTP_ARTICLE_NOT_FOUND_ID = 430 NNTP_ARTICLE_NOT_FOUND_ID = 430
NNTP_ARTICLE_NOT_WANTED_ID = 435
NNTP_POST_PROHIBITED = 440 NNTP_POST_PROHIBITED = 440
NNTP_POST_FAILED = 441 NNTP_POST_FAILED = 441
NNTP_AUTH_FAILED = 481 NNTP_AUTH_FAILED = 481
@ -52,8 +55,10 @@ class ResponseCode(enum.Enum):
224: "Overview information follows (multi-line)", 224: "Overview information follows (multi-line)",
225: "Headers follow (multi-line)", 225: "Headers follow (multi-line)",
231: "List of new newsgroups follows", 231: "List of new newsgroups follows",
235: "Article received OK",
240: "Article received OK", 240: "Article received OK",
281: "Authentication accepted", 281: "Authentication accepted",
335: "Input article; end with <CR><LF>.<CR><LF>",
340: "Input article; end with <CR><LF>.<CR><LF>", 340: "Input article; end with <CR><LF>.<CR><LF>",
381: "Enter passphrase", 381: "Enter passphrase",
411: "No such newsgroup", 411: "No such newsgroup",
@ -63,6 +68,7 @@ class ResponseCode(enum.Enum):
422: "No previous article in this group", 422: "No previous article in this group",
423: "No article found by that message number", 423: "No article found by that message number",
430: "No article found by that message ID", 430: "No article found by that message ID",
435: "Article not wanted",
440: "Posting prohibited", 440: "Posting prohibited",
441: "Posting failed", 441: "Posting failed",
481: "Authentication failed", 481: "Authentication failed",