@@ -444,6 +444,28 @@ def disconnected?
444
444
# Capability requirements—other than +IMAP4rev1+—are listed in the
445
445
# documentation for each command method.
446
446
#
447
+ # ===== Basic IMAP4rev1 capabilities
448
+ #
449
+ # All IMAP4rev1 servers must include +IMAP4rev1+ in their capabilities list.
450
+ # All IMAP4rev1 servers must _implement_ the +STARTTLS+,
451
+ # <tt>AUTH=PLAIN</tt>, and +LOGINDISABLED+ capabilities, and clients must
452
+ # respect their presence or absence. See the capabilites requirements on
453
+ # #starttls, #login, and #authenticate.
454
+ #
455
+ # ===== Using IMAP4rev1 extensions
456
+ #
457
+ # IMAP4rev1 servers must not activate incompatible behavior until an
458
+ # explicit client action invokes a capability, e.g. sending a command or
459
+ # command argument specific to that capability. Extensions to backward
460
+ # compatible features, such as response codes or mailbox attributes, might
461
+ # be sent at any time.
462
+ #
463
+ # Invoking capabilities which are unknown to Net::IMAP may cause unexpected
464
+ # behavior and errors, for example ResponseParseError ill be raised when
465
+ # backwards-incompatible response syntax is received. Invoking commands or
466
+ # command parameters that are unsupported by the server may raise
467
+ # NoResponseError, BadResponseError, or cause other unexpected behavior.
468
+ #
447
469
# ===== Caching +CAPABILITY+ responses
448
470
#
449
471
# Servers may send their capability list, unsolicited, using the
0 commit comments