Skip to content

Commit 39a646d

Browse files
committed
📚 Document support for the PARTIAL extension
1 parent 9255757 commit 39a646d

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

lib/net/imap.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,11 @@ module Net
534534
# See FetchData#emailid and FetchData#emailid.
535535
# - Updates #status with support for the +MAILBOXID+ status attribute.
536536
#
537+
# ==== RFC9394: +PARTIAL+
538+
# - Updates #search, #uid_search with the +PARTIAL+ return option which adds
539+
# ESearchResult#partial return data.
540+
# - Updates #uid_fetch with the +partial+ modifier.
541+
#
537542
# == References
538543
#
539544
# [{IMAP4rev1}[https://www.rfc-editor.org/rfc/rfc3501.html]]::
@@ -701,6 +706,11 @@ module Net
701706
# Gondwana, B., Ed., "IMAP Extension for Object Identifiers",
702707
# RFC 8474, DOI 10.17487/RFC8474, September 2018,
703708
# <https://www.rfc-editor.org/info/rfc8474>.
709+
# [PARTIAL[https://www.rfc-editor.org/info/rfc9394]]::
710+
# Melnikov, A., Achuthan, A., Nagulakonda, V., and L. Alves,
711+
# "IMAP PARTIAL Extension for Paged SEARCH and FETCH", RFC 9394,
712+
# DOI 10.17487/RFC9394, June 2023,
713+
# <https://www.rfc-editor.org/info/rfc9394>.
704714
#
705715
# === IANA registries
706716
# * {IMAP Capabilities}[http://www.iana.org/assignments/imap4-capabilities]

rakelib/rfcs.rake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ RFCS = {
145145
8514 => "IMAP SAVEDATE",
146146
8970 => "IMAP PREVIEW",
147147
9208 => "IMAP QUOTA, QUOTA=, QUOTASET",
148+
9394 => "IMAP PARTIAL",
148149

149150
# etc...
150151
3629 => "UTF8",

0 commit comments

Comments
 (0)