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