@@ -491,6 +491,9 @@ def response_data
491
491
when "FETCH" then message_data__fetch # RFC3501, RFC9051
492
492
when "EXPUNGE" then message_data__expunge # RFC3501, RFC9051
493
493
when "EXISTS" then mailbox_data__exists # RFC3501, RFC9051
494
+ when "ESEARCH" then esearch_response # RFC4731, RFC9051, etc
495
+ when "VANISHED" then expunged_resp # RFC7162
496
+ when "UIDFETCH" then uidfetch_resp # (draft) UIDONLY
494
497
when "SEARCH" then search_response # RFC3501 (obsolete)
495
498
when "CAPABILITY" then capability_data__untagged # RFC3501, RFC9051
496
499
when "FLAGS" then flags_response # RFC3501, RFC9051
@@ -509,6 +512,12 @@ def response_data
509
512
when "QUOTAROOT" then getquotaroot_response # RFC2087, RFC9208
510
513
when "ID" then id_response # RFC2971
511
514
when "ACL" then getacl_response # RFC4314
515
+ when "LISTRIGHTS" then listrights_data # RFC4314
516
+ when "MYRIGHTS" then myrights_data # RFC4314
517
+ when "METADATA" then metadata_resp # RFC5464
518
+ when "LANGUAGE" then language_data # RFC5255
519
+ when "COMPARATOR" then comparator_data # RFC5255
520
+ when "CONVERTED" then message_data__converted # RFC5259
512
521
when "LSUB" then list_response # RFC3501 (obsolete)
513
522
when "XLIST" then list_response # deprecated
514
523
when "NOOP" then ignored_response
@@ -532,6 +541,16 @@ def remaining_unparsed
532
541
533
542
def ignored_response ; unparsed_response ( IgnoredResponse ) end
534
543
544
+ alias esearch_response unparsed_response
545
+ alias expunged_resp unparsed_response
546
+ alias uidfetch_resp unparsed_response
547
+ alias listrights_data unparsed_response
548
+ alias myrights_data unparsed_response
549
+ alias metadata_resp unparsed_response
550
+ alias language_data unparsed_response
551
+ alias comparator_data unparsed_response
552
+ alias message_data__converted unparsed_response
553
+
535
554
# RFC3501 & RFC9051:
536
555
# response-tagged = tag SP resp-cond-state CRLF
537
556
#
0 commit comments